changes: 1) fixes problems in the original EyeTracking benchmark 2) fix a bug in...
[IRC.git] / Robust / src / Benchmarks / SSJava / EyeTracking / EyePosition.java
index 5b4ffd5b0a4a0734726bfd287936c0a6aca2ace2..8422220a1d6898e58e288792631597a1da431c0f 100644 (file)
@@ -29,17 +29,27 @@ public class EyePosition {
   private int x;
   @LOC("POS")
   private int y;
-  @LOC("POS")
-  private Rectangle2D faceRect;
+  @LOC("POS") private double facex;
+  @LOC("POS") private double facey;
+  @LOC("POS") private double facewidth;
+  @LOC("POS") 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() {