29 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class 86 void visit(
KdNode* node)
override;
106 nodeList(p_nodeList) {};
127 static std::unique_ptr<std::vector<geom::Coordinate>> toCoordinates(std::vector<KdNode*>& kdnodes);
140 static std::unique_ptr<std::vector<geom::Coordinate>> toCoordinates(std::vector<KdNode*>& kdnodes,
bool includeRepeated);
151 tolerance(p_tolerance)
170 std::unique_ptr<std::vector<KdNode*>> query(
const geom::Envelope& queryEnv);
175 void query(
const geom::Envelope& queryEnv, std::vector<KdNode*>& result);
const geom::Coordinate & p
An Envelope defines a rectangulare region of the 2D coordinate plane.
void visit(KdNode *node) override
Coordinate is the lightweight class used to store coordinates.
std::deque< KdNode > nodeQue
KdTree(double p_tolerance)
std::vector< KdNode * > & nodeList
Basic namespace for all GEOS functionalities.
AccumulatingVisitor(std::vector< KdNode * > &p_nodeList)