org.jcae.mesh.amibe.patch.tests
Class QuadTreeSampleRemove
java.lang.Object
org.jcae.mesh.amibe.patch.tests.QuadTreeSample
org.jcae.mesh.amibe.patch.tests.QuadTreeSampleRemove
public class QuadTreeSampleRemove
- extends QuadTreeSample
Unit test to check removal of vertices.
Run
QuadTreeSampleRemove
to display an initial QuadTree
with 500 vertices.
Click to remove vertices.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuadTreeSampleRemove
public QuadTreeSampleRemove(KdTree q)
getNearVertex
public Vertex2D getNearVertex(Mesh2D mesh,
Vertex2D n)
getNearestVertex
public Vertex2D getNearestVertex(Mesh2D mesh,
Vertex2D n)
display
public static void display(Viewer view,
QuadTreeSample r)
main
public static void main(java.lang.String[] args)