X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Fedu%2Fberkeley%2Fqfat%2FMesh.java;h=926a5b7b5d55ffea170ea62037216a1e88193c1a;hb=4d37197f8e2572a3c5510d77c0f09a19e9d9f748;hp=f537429ea3eeb1eca83d9832971abcf4a419eaaf;hpb=7c73c0f732bbadef09d098b7f4542b060fdacc7d;p=anneal.git diff --git a/src/edu/berkeley/qfat/Mesh.java b/src/edu/berkeley/qfat/Mesh.java index f537429..926a5b7 100644 --- a/src/edu/berkeley/qfat/Mesh.java +++ b/src/edu/berkeley/qfat/Mesh.java @@ -217,10 +217,16 @@ public class Mesh implements Iterable { /** 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;