Class OctTree<T>
java.lang.Object
com.hypixel.hytale.builtin.portals.utils.spatial.OctTree<T>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate final intprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanvoidprivate voidqueryRange(Box range) queryRange(Vector3d position, double inradius) private void
-
Field Details
-
SIZE
private static final int SIZE- See Also:
-
DEFAULT_NODE_CAPACITY
private static final int DEFAULT_NODE_CAPACITY- See Also:
-
root
-
nodeCapacity
private final int nodeCapacity
-
-
Constructor Details
-
OctTree
public OctTree(double inradius) -
OctTree
-
OctTree
-
-
Method Details
-
add
-
add
-
subdivide
-
getAllPoints
-
queryRange
-
queryRange
-
queryRange
-