19 #ifndef GEOS_OPERATION_DISTANCE_FACETSEQUENCETREEBUILDER_H
20 #define GEOS_OPERATION_DISTANCE_FACETSEQUENCETREEBUILDER_H
22 #include <geos/index/strtree/STRtree.h>
23 #include <geos/geom/Geometry.h>
24 #include <geos/geom/CoordinateSequence.h>
25 #include <geos/operation/distance/FacetSequence.h>
27 using namespace geos::geom;
28 using namespace geos::index::strtree;
29 using namespace geos::operation::distance;
34 class FacetSequenceTreeBuilder {
37 static const int FACET_SEQUENCE_SIZE = 6;
40 static const int STR_TREE_NODE_CAPACITY = 4;
42 static void addFacetSequences(
const CoordinateSequence* pts, std::vector<FacetSequence*> & sections);
43 static std::vector<FacetSequence*> * computeFacetSequences(
const Geometry* g);
52 #endif //GEOS_FACETSEQUENCETREEBUILDER_H
A query-only R-tree created using the Sort-Tile-Recursive (STR) algorithm. For two-dimensional spatia...
Definition: STRtree.h:64
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:167
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:59