21 #ifndef GEOS_IDX_QUADTREE_KEY_H
22 #define GEOS_IDX_QUADTREE_KEY_H
24 #include <geos/export.h>
25 #include <geos/geom/Coordinate.h>
26 #include <geos/geom/Envelope.h>
46 static int computeQuadLevel(
const geom::Envelope& env);
49 Key(
const geom::Envelope& itemEnv);
55 const geom::Coordinate& getPoint()
const;
60 const geom::Envelope& getEnvelope()
const;
63 geom::Coordinate* getCentre()
const;
69 void computeKey(
const geom::Envelope& itemEnv);
82 void computeKey(
int level,
const geom::Envelope& itemEnv);
89 #endif // GEOS_IDX_QUADTREE_KEY_H