X-Git-Url: http://git.megacz.com/?p=anneal.git;a=blobdiff_plain;f=src%2Fedu%2Fberkeley%2Fqfat%2FMesh.java;h=926a5b7b5d55ffea170ea62037216a1e88193c1a;hp=f537429ea3eeb1eca83d9832971abcf4a419eaaf;hb=d52f92b29c1987b5734c7183a9c01b5660f86482;hpb=8084a784db5cd0f688d230ab9624ab6966265f39 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;