16 #ifndef GEOS_GEOM_PREP_SEGMENTINTERSECTIONDETECTOR_H 17 #define GEOS_GEOM_PREP_SEGMENTINTERSECTIONDETECTOR_H 63 _hasIntersection(false),
64 _hasProperIntersection(false),
65 _hasNonProperIntersection(false),
80 this->findProper = p_findProper;
86 this->findAllTypes = p_findAllTypes;
179 #endif // GEOS_GEOM_PREP_SEGMENTINTERSECTIONDETECTOR_H void setFindProper(bool p_findProper)
Detects and records an intersection between two SegmentStrings, if one exists.
The default implementation of CoordinateSequence.
Coordinate is the lightweight class used to store coordinates.
An interface for classes which represent a sequence of contiguous line segments.
bool _hasNonProperIntersection
bool hasNonProperIntersection() const
Tests whether a non-proper intersection was found.
SegmentIntersectionDetector(algorithm::LineIntersector *p_li)
~SegmentIntersectionDetector() override
A LineIntersector is an algorithm that can both test whether two line segments intersect and compute ...
const geom::Coordinate * intPt
const geom::Coordinate * getIntersection() const
Gets the computed location of the intersection. Due to round-off, the location may not be exact...
Basic namespace for all GEOS functionalities.
bool _hasProperIntersection
algorithm::LineIntersector * li
const geom::CoordinateSequence * getIntersectionSegments() const
Gets the endpoints of the intersecting segments.
Processes possible intersections detected by a Noder.
The internal representation of a list of coordinates inside a Geometry.
bool isDone() const override
Reports whether the client of this class needs to continue testing all intersections in an arrangemen...
geom::CoordinateArraySequence * intSegments
void setFindAllIntersectionTypes(bool p_findAllTypes)
bool hasIntersection() const
Tests whether an intersection was found.
bool hasProperIntersection() const
Tests whether a proper intersection was found.
void processIntersections(noding::SegmentString *e0, size_t segIndex0, noding::SegmentString *e1, size_t segIndex1) override
This method is called by clients of the SegmentIntersector class to process intersections for two seg...