Class Key
java.lang.Object
org.locationtech.jts.index.quadtree.Key
A Key is a unique identifier for a node in a quadtree.
It contains a lower-left point and a level number. The level number
is the power of two for the size of the node envelope
- Version:
- 1.7
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
computeKey
(int level, Envelope itemEnv) void
computeKey
(Envelope itemEnv) return a square envelope containing the argument envelope, whose extent is a power of two and which is based at a power of 2static int
computeQuadLevel
(Envelope env) int
getLevel()
getPoint()
-
Field Details
-
pt
-
level
private int level -
env
-
-
Constructor Details
-
Key
-
-
Method Details
-
computeQuadLevel
-
getPoint
-
getLevel
public int getLevel() -
getEnvelope
-
getCentre
-
computeKey
return a square envelope containing the argument envelope, whose extent is a power of two and which is based at a power of 2 -
computeKey
-