changes: 1) fixes problems in the original EyeTracking benchmark 2) fix a bug in...
[IRC.git] / Robust / src / Benchmarks / SSJava / EyeTrackingInfer / EyePosition.java
index be45cee383b535b0bb9b2134418967f316bb2c65..a599a3c151578a40a194ba50e96d2a3cc6f1f866 100644 (file)
  * @author Florian Frankenberger
  */
 
-public class EyePosition {
 
+public class EyePosition {
+  
   private int x;
-
+  
   private int y;
+   private double facex;
+   private double facey;
+   private double facewidth;
+   private double faceheight;
 
-  private Rectangle2D faceRect;
+  // private Rectangle2D faceRect;
 
-  public EyePosition(Point p, Rectangle2D faceRect) {
-    this(p.x, p.y, 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() {