GEOS
3.9.1dev
|
#include <KdNode.h>
Public Member Functions | |
KdNode (double p_x, double p_y, void *p_data) | |
KdNode (const geom::Coordinate &p_p, void *p_data) | |
double | getX () |
double | getY () |
const geom::Coordinate & | getCoordinate () |
void * | getData () |
KdNode * | getLeft () |
KdNode * | getRight () |
void | increment () |
std::size_t | getCount () |
bool | isRepeated () |
void | setLeft (KdNode *p_left) |
void | setRight (KdNode *p_right) |
Private Attributes | |
geom::Coordinate | p |
void * | data |
KdNode * | left |
KdNode * | right |
std::size_t | count |
A node of a KdTree, which represents one or more points in the same location.
geos::index::kdtree::KdNode::KdNode | ( | double | p_x, |
double | p_y, | ||
void * | p_data | ||
) |
geos::index::kdtree::KdNode::KdNode | ( | const geom::Coordinate & | p_p, |
void * | p_data | ||
) |
|
inline |
|
inline |
|
inline |
Definition at line 45 of file KdNode.h.
References geos::geom::Coordinate::x.
|
inline |
Definition at line 46 of file KdNode.h.
References geos::geom::Coordinate::y.
|
inline |
|
inline |
|
private |