15 #ifndef GEOS_NODING_SINGLEINTERIORINTERSECTIONFINDER_H 16 #define GEOS_NODING_SINGLEINTERIORINTERSECTIONFINDER_H 18 #include <geos/noding/SegmentIntersector.h> 19 #include <geos/geom/Coordinate.h> 26 class LineIntersector;
57 interiorIntersection(geom::Coordinate::getNull())
68 return !interiorIntersection.isNull();
79 return interiorIntersection;
107 return !interiorIntersection.isNull();
113 std::vector<geom::Coordinate> intSegments;
123 #endif // GEOS_NODING_SINGLEINTERIORINTERSECTIONFINDER_H const std::vector< geom::Coordinate > & getIntersectionSegments() const
Gets the endpoints of the intersecting segments.
Definition: SingleInteriorIntersectionFinder.h:87
void processIntersections(SegmentString *e0, int segIndex0, SegmentString *e1, int segIndex1)
This method is called by clients of the SegmentIntersector class to process intersections for two seg...
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
An interface for classes which represent a sequence of contiguous line segments.
Definition: SegmentString.h:46
A LineIntersector is an algorithm that can both test whether two line segments intersect and compute ...
Definition: LineIntersector.h:49
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
bool hasIntersection() const
Tests whether an intersection was found.
Definition: SingleInteriorIntersectionFinder.h:66
Processes possible intersections detected by a Noder.
Definition: noding/SegmentIntersector.h:47
const geom::Coordinate & getInteriorIntersection() const
Gets the computed location of the intersection. Due to round-off, the location may not be exact...
Definition: SingleInteriorIntersectionFinder.h:77
Finds an interior intersection in a set of SegmentString, if one exists. Only the first intersection ...
Definition: SingleInteriorIntersectionFinder.h:43
SingleInteriorIntersectionFinder(algorithm::LineIntersector &newLi)
Creates an intersection finder which finds an interior intersection if one exists.
Definition: SingleInteriorIntersectionFinder.h:54
bool isDone() const
Reports whether the client of this class needs to continue testing all intersections in an arrangemen...
Definition: SingleInteriorIntersectionFinder.h:105