org.jcae.mesh.amibe.patch.tests
Class QuadTreeSample
java.lang.Object
org.jcae.mesh.amibe.patch.tests.QuadTreeSample
- Direct Known Subclasses:
- QuadTreeSampleAdd, QuadTreeSampleNearest, QuadTreeSampleRemove
public class QuadTreeSample
- extends java.lang.Object
Utility class to write unit tests for the QuadTree class.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
quadtree
protected final KdTree quadtree
QuadTreeSample
public QuadTreeSample(KdTree q)
writeUNV
public void writeUNV(java.lang.String file)
bgQuadTree
public BranchGroup bgQuadTree()
bgVertices
public BranchGroup bgVertices()
segment
public BranchGroup segment(Vertex2D vt,
Vertex2D vn,
float depth,
float r,
float g,
float b)