JTS Core 1.17.1
Packages
Classes
Search
About
Top
Node(Envelope, int)
createNode(Envelope): Node
createExpanded(Node, Envelope): Node
getEnvelope(): Envelope
isSearchMatch(Envelope): boolean
getNode(Envelope): Node
find(Envelope): NodeBase
Bottom
Source
Classic
org.locationtech.jts.index.quadtree
Class Node
Hierarchy:
Object
,
NodeBase
, Node
All Implemented Interfaces:
Serializable
public class Node
extends
NodeBase
Represents a node of a
Quadtree
. Nodes contain items which have a spatial extent corresponding to the node's position in the quadtree.
Other
version: 1.7
public
Node(
Envelope
env, int level)
public
static
Node
createNode(
Envelope
env)
public
static
Node
createExpanded(
Node
node,
Envelope
addEnv)
public
Envelope
getEnvelope()
protected
boolean isSearchMatch(
Envelope
searchEnv)
public
Node
getNode(
Envelope
searchEnv)
Returns the subquad containing the envelope
searchEnv
. Creates the subquad if it does not already exist.
Returns:
the subquad containing the search envelope
public
NodeBase
find(
Envelope
searchEnv)
Returns the smallest
existing
node containing the envelope.