checkpoint
[anneal.git] / src / edu / berkeley / qfat / Mesh.java
index f537429..926a5b7 100644 (file)
@@ -217,10 +217,16 @@ public class Mesh implements Iterable<Mesh.T> {
 
 
     /** a vertex in the mesh */
-    public final class Vertex extends HasQuadric implements Visitor {
+    public final class Vertex extends HasQuadric implements Visitor, HasPoint {
         public void bindTo(Matrix bindingMatrix, HasBindingGroup other) {
             bindTo(bindingMatrix, other, EPSILON);
         }
+        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(); }
 
         public Point p, goodp;
         public Point oldp;