checkpoint
[anneal.git] / src / edu / berkeley / qfat / bind / HasQuadric.java
index d5c32da..1b13c33 100644 (file)
@@ -3,7 +3,7 @@ import edu.berkeley.qfat.geom.*;
 import javax.media.opengl.*;
 
 /** any object associated with a specific point in 3D space */
-public abstract class HasQuadric extends HasPoint {
+public abstract class HasQuadric extends HasBindingGroup implements HasPoint {
 
     public Matrix errorQuadric() { return quadric; }
     public boolean quadricStale = false;
@@ -81,4 +81,11 @@ public abstract class HasQuadric extends HasPoint {
         nearest_in_other_mesh.computeError();
         nearest_in_other_mesh = null;
     }
+
+    public float getMaxX() { return getPoint().getMaxX(); }
+    public float getMinX() { return getPoint().getMinX(); }
+    public float getMaxY() { return getPoint().getMaxY(); }
+    public float getMinY() { return getPoint().getMinY(); }
+    public float getMaxZ() { return getPoint().getMaxZ(); }
+    public float getMinZ() { return getPoint().getMinZ(); }
 }