#include <FastNodingValidator.h>
Public Member Functions | |
FastNodingValidator (std::vector< noding::SegmentString * > &newSegStrings) | |
bool | isValid () |
std::string | getErrorMessage () const |
void | checkValid () |
Uses indexes to improve performance. Does NOT check a-b-a collapse situations. Also does not check for endpt-interior vertex intersections. This should not be a problem, since the noders should be able to compute intersections between vertices correctly. User may either test the valid condition, or request that a TopologyException be thrown.
|
Checks for an intersection and throws a TopologyException if one is found.
|
|
Returns an error message indicating the segments containing the intersection.
|
|
Checks for an intersection and reports if one is found.
|