|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ed.computational_geometry.util.BSPTree
public class BSPTree
User: nix Date: 09-Feb-2005 Time: 16:00:48 To change this template use Options | File Templates.
| Nested Class Summary | |
|---|---|
class |
BSPTree.BSPTreeNode
|
static class |
BSPTree.Plane
|
static class |
BSPTree.Range
|
protected class |
BSPTree.Sort
|
| Field Summary | |
|---|---|
protected BSPTree.BSPTreeNode |
root
|
protected int |
size
|
| Constructor Summary | |
|---|---|
BSPTree(List<javax.vecmath.Point3d> points)
|
|
| Method Summary | |
|---|---|
protected BSPTree.BSPTreeNode |
buildTree(List<javax.vecmath.Point3d> points,
BSPTree.Plane plane)
|
protected BSPTree.Range |
compare(BSPTree.BSPTreeNode node,
javax.vecmath.Point3d point)
|
protected List<javax.vecmath.Point3d> |
findPointsInRange(BSPTree.BSPTreeNode node,
javax.vecmath.Point3d low_point,
javax.vecmath.Point3d high_point,
List<javax.vecmath.Point3d> points)
|
List<javax.vecmath.Point3d> |
findPointsInRange(javax.vecmath.Point3d point,
double range)
|
List<javax.vecmath.Point3d> |
findPointsInRange(javax.vecmath.Point3d low_point,
javax.vecmath.Point3d high_point)
|
protected boolean |
isPointInRange(javax.vecmath.Point3d point,
javax.vecmath.Point3d low_point,
javax.vecmath.Point3d high_point)
|
static void |
main(String[] args)
|
int |
size()
|
protected int |
size(BSPTree.BSPTreeNode node)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected BSPTree.BSPTreeNode root
protected int size
| Constructor Detail |
|---|
public BSPTree(List<javax.vecmath.Point3d> points)
| Method Detail |
|---|
protected BSPTree.BSPTreeNode buildTree(List<javax.vecmath.Point3d> points,
BSPTree.Plane plane)
public List<javax.vecmath.Point3d> findPointsInRange(javax.vecmath.Point3d point,
double range)
public List<javax.vecmath.Point3d> findPointsInRange(javax.vecmath.Point3d low_point,
javax.vecmath.Point3d high_point)
public int size()
protected int size(BSPTree.BSPTreeNode node)
protected List<javax.vecmath.Point3d> findPointsInRange(BSPTree.BSPTreeNode node,
javax.vecmath.Point3d low_point,
javax.vecmath.Point3d high_point,
List<javax.vecmath.Point3d> points)
protected boolean isPointInRange(javax.vecmath.Point3d point,
javax.vecmath.Point3d low_point,
javax.vecmath.Point3d high_point)
protected BSPTree.Range compare(BSPTree.BSPTreeNode node,
javax.vecmath.Point3d point)
public static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||