changes: 1) fixes problems in the original EyeTracking benchmark 2) fix a bug in...
[IRC.git] / Robust / src / Benchmarks / SSJava / EyeTrackingInfer / EyePosition.java
index 500b00860f3d13415173374040fd81b167da5375..a599a3c151578a40a194ba50e96d2a3cc6f1f866 100644 (file)
@@ -29,17 +29,27 @@ public class EyePosition {
   private int x;
   
   private int y;
-  
-  private Rectangle2D faceRect;
+   private double facex;
+   private double facey;
+   private double facewidth;
+   private double faceheight;
 
-  public EyePosition(Point p, Rectangle2D faceRect) {
-    this(p.x, p.y, faceRect);
-  }
+  // private Rectangle2D faceRect;
+
+  // public EyePosition(Point p, Rectangle2D faceRect) {
+  // this(p.x, p.y, faceRect);
+  // }
+  //
+  // public EyePosition(int x, int y, Rectangle2D faceRect) {
+  // this.x = x;
+  // this.y = y;
+  // this.faceRect = faceRect;
+  // }
 
-  public EyePosition(int x, int y, Rectangle2D faceRect) {
+  public EyePosition(int x, int y) {
     this.x = x;
     this.y = y;
-    this.faceRect = faceRect;
   }
 
   public int getX() {