GEOS
3.9.1dev
|
Validates that a collection of SegmentStrings is correctly noded. Throws a TopologyException if a noding error is found. More...
#include <NodingValidator.h>
Public Member Functions | |
NodingValidator (const std::vector< SegmentString * > &newSegStrings) | |
~NodingValidator () | |
void | checkValid () |
Private Member Functions | |
void | checkCollapses () const |
void | checkCollapses (const SegmentString &ss) const |
void | checkCollapse (const geom::Coordinate &p0, const geom::Coordinate &p1, const geom::Coordinate &p2) const |
void | checkInteriorIntersections () |
void | checkInteriorIntersections (const SegmentString &ss0, const SegmentString &ss1) |
void | checkInteriorIntersections (const SegmentString &e0, size_t segIndex0, const SegmentString &e1, size_t segIndex1) |
void | checkEndPtVertexIntersections () const |
void | checkEndPtVertexIntersections (const geom::Coordinate &testPt, const std::vector< SegmentString * > &segStrings) const |
bool | hasInteriorIntersection (const algorithm::LineIntersector &aLi, const geom::Coordinate &p0, const geom::Coordinate &p1) const |
NodingValidator (const NodingValidator &other)=delete | |
NodingValidator & | operator= (const NodingValidator &rhs)=delete |
Private Attributes | |
algorithm::LineIntersector | li |
const std::vector< SegmentString * > & | segStrings |
Validates that a collection of SegmentStrings is correctly noded. Throws a TopologyException if a noding error is found.
Last port: noding/NodingValidator.java rev. 1.6 (JTS-1.7)
Definition at line 48 of file NodingValidator.h.
|
privatedelete |
|
inline |
Definition at line 99 of file NodingValidator.h.
|
inline |
Definition at line 103 of file NodingValidator.h.
|
private |
|
private |
Checks if a segment string contains a segment pattern a-b-a (which implies a self-intersection)
|
private |
|
private |
Checks for intersections between an endpoint of a segment string and an interior vertex of another segment string
|
private |
|
private |
Checks all pairs of segments for intersections at an interior point of a segment
|
private |
|
private |
void geos::noding::NodingValidator::checkValid | ( | ) |
|
private |
|
privatedelete |
|
private |
Definition at line 50 of file NodingValidator.h.
|
private |
Definition at line 51 of file NodingValidator.h.