class Node extends Element
The current implementation allows for the case where the maximum left value is == the minimum right value. This can happen when the tree is filled with coordinate values that contain the same value along one dimension ... as with very regular crystals
The tree is not kept balanced.
Modifier and Type | Field and Description |
---|---|
(package private) int |
dim |
(package private) Element |
eleLeft |
(package private) Element |
eleRight |
(package private) float |
maxLeft |
(package private) float |
maxRight |
(package private) float |
minLeft |
(package private) float |
minRight |
Constructor and Description |
---|
Node(Bspt bspt,
int level,
Leaf leafLeft) |
int dim
float minLeft
float maxLeft
Element eleLeft
float minRight
float maxRight
Element eleRight
public java.lang.String toString()
toString
in class java.lang.Object
static float getDimensionValue(P3 pt, int dim)