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>
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);
46 static STRtree* build(
const Geometry* g);
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Contains 2-D and 1-D versions of the Sort-Tile-Recursive (STR) tree, a query-only R-tree.
Definition SIRtreePointInRing.h:32
Provides classes for computing the distance between geometries.
Definition opDistance.h:23
Provides classes for implementing operations on geometries.
Definition IndexedNestedRingTester.h:40
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25