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 | 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 |
Modifier and Type | Method | Description |
---|---|---|
(package private) Element |
addTuple(int level,
javajs.util.T3 tuple) |
|
(package private) static float |
getDimensionValue(javajs.util.T3 pt,
int dim) |