com.vividsolutions.jts.index.bintree
Class Key
java.lang.Object
com.vividsolutions.jts.index.bintree.Key
public class Key
- extends Object
A Key is a unique identifier for a node in a tree.
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Key
public Key(Interval interval)
computeLevel
public static int computeLevel(Interval interval)
getPoint
public double getPoint()
getLevel
public int getLevel()
getInterval
public Interval getInterval()
computeKey
public void computeKey(Interval itemInterval)
- return a square envelope containing the argument envelope,
whose extent is a power of two and which is based at a power of 2
Copyright © 2012. All Rights Reserved.