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 Node
createExpanded
(Node node, Interval addInterval) static Node
createNode
(Interval itemInterval) private Node
createSubnode
(int index) Returns the smallest existing node containing the envelope.Returns the subnode containing the envelope.private Node
getSubnode
(int index) get the subnode for the index.(package private) void
protected boolean
isSearchMatch
(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:
isSearchMatch
in 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
-