21#include <geos/geom/Coordinate.h>
30class GEOS_DLL KdNode {
42 KdNode(
double p_x,
double p_y,
void* p_data);
45 double getX() {
return p.x; }
46 double getY() {
return p.y; }
48 void* getData() {
return data; }
49 KdNode* getLeft() {
return left; }
50 KdNode* getRight() {
return right; }
51 void increment() { count++; }
52 std::size_t getCount() {
return count; }
53 bool isRepeated() {
return count > 1; }
54 void setLeft(KdNode* p_left) { left = p_left; }
55 void setRight(KdNode* p_right) { right = p_right; }
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:217
Provides classes for various kinds of spatial indexes.
Definition DiscreteFrechetDistance.h:50
Basic namespace for all GEOS functionalities.
Definition geos.h:39