Class Key

Hierarchy: Object , Key
public class 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

Other

  • version: 1.7
public Key(Envelope itemEnv)
public static int computeQuadLevel(Envelope env)
public Coordinate getPoint()
public int getLevel()
public Envelope getEnvelope()
public Coordinate getCentre()
public 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 2