org.jmol.bspt
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.
Field Summary | |
---|---|
int | dim |
Element | eleLeft |
Element | eleRight |
float | maxLeft |
float | maxRight |
float | minLeft |
float | minRight |
Constructor Summary | |
---|---|
Node(Bspt bspt, int level, Leaf leafLeft) |
Method Summary | |
---|---|
Element | addTuple(int level, Point3f tuple) |
static float | getDimensionValue(Point3f pt, int dim) |