23#include <geos/geom/prep/BasicPreparedGeometry.h>
24#include <geos/noding/SegmentString.h>
25#include <geos/noding/FastSegmentSetIntersectionFinder.h>
26#include <geos/operation/distance/IndexedFacetDistance.h>
41class PreparedLineString :
public BasicPreparedGeometry {
43 std::unique_ptr<noding::FastSegmentSetIntersectionFinder> segIntFinder;
44 mutable noding::SegmentString::ConstVect segStrings;
45 mutable std::unique_ptr<operation::distance::IndexedFacetDistance> indexedDistance;
51 BasicPreparedGeometry(
geom),
55 ~PreparedLineString()
override;
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:197
std::unique_ptr< geom::CoordinateSequence > nearestPoints(const geom::Geometry *g) const override
bool intersects(const geom::Geometry *g) const override
bool isWithinDistance(const geom::Geometry *g, double d) const override
double distance(const geom::Geometry *g) const override
Finds if two sets of SegmentStrings intersect.
Definition FastSegmentSetIntersectionFinder.h:50
Computes the distance between the facets (segments and vertices) of two Geometrys using a Branch-and-...
Definition IndexedFacetDistance.h:46
Contains classes and interfaces implementing algorithms that optimize the performance of repeated cal...
Definition AbstractPreparedPolygonContains.h:30
Basic namespace for all GEOS functionalities.
Definition geos.h:39