20 #ifndef GEOS_GEOM_PREP_PREPAREDLINESTRING_H
21 #define GEOS_GEOM_PREP_PREPAREDLINESTRING_H
23 #include <geos/geom/prep/BasicPreparedGeometry.h>
24 #include <geos/noding/SegmentString.h>
25 #include <geos/noding/FastSegmentSetIntersectionFinder.h>
40 class PreparedLineString :
public BasicPreparedGeometry {
42 std::unique_ptr<noding::FastSegmentSetIntersectionFinder> segIntFinder;
43 mutable noding::SegmentString::ConstVect segStrings;
47 PreparedLineString(
const Geometry* geom)
49 BasicPreparedGeometry(geom),
53 ~PreparedLineString()
override;
55 noding::FastSegmentSetIntersectionFinder* getIntersectionFinder();
57 bool intersects(
const geom::Geometry* g)
const override;
65 #endif // GEOS_GEOM_PREP_PREPAREDLINESTRING_H