Class Node
java.lang.Object
org.locationtech.jts.index.bintree.NodeBase
org.locationtech.jts.index.bintree.Node
A node of a
Bintree.- Version:
- 1.7
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NodecreateExpanded(Node node, Interval addInterval) static NodecreateNode(Interval itemInterval) private NodecreateSubnode(int index) Returns the smallest existing node containing the envelope.Returns the subnode containing the envelope.private NodegetSubnode(int index) get the subnode for the index.(package private) voidprotected booleanisSearchMatch(Interval itemInterval) Methods inherited from class org.locationtech.jts.index.bintree.NodeBase
add, addAllItems, addAllItemsFromOverlapping, depth, getItems, getSubnodeIndex, hasChildren, hasItems, isPrunable, nodeSize, remove, size
-
Field Details
-
interval
-
centre
private double centre -
level
private int level
-
-
Constructor Details
-
Node
-
-
Method Details
-
createNode
-
createExpanded
-
getInterval
-
isSearchMatch
- Specified by:
isSearchMatchin classNodeBase
-
getNode
Returns the subnode containing the envelope. Creates the node if it does not already exist. -
find
Returns the smallest existing node containing the envelope. -
insert
-
getSubnode
get the subnode for the index. If it doesn't exist, create it -
createSubnode
-