GEOS  3.9.1dev
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
geos::geomgraph::EdgeNodingValidator Class Reference

Validates that a collection of SegmentStrings is correctly noded. More...

#include <EdgeNodingValidator.h>

Collaboration diagram for geos::geomgraph::EdgeNodingValidator:
[legend]

Public Member Functions

 EdgeNodingValidator (std::vector< Edge * > &edges)
 
 ~EdgeNodingValidator ()
 
void checkValid ()
 

Static Public Member Functions

static void checkValid (std::vector< Edge * > &edges)
 Checks whether the supplied Edges are correctly noded. More...
 

Private Member Functions

std::vector< noding::SegmentString * > & toSegmentStrings (std::vector< Edge * > &edges)
 

Private Attributes

std::vector< noding::SegmentString * > segStr
 
std::vector< geom::CoordinateSequence * > newCoordSeq
 
noding::FastNodingValidator nv
 

Detailed Description

Validates that a collection of SegmentStrings is correctly noded.

Throws an appropriate exception if an noding error is found.

Definition at line 57 of file EdgeNodingValidator.h.

Constructor & Destructor Documentation

geos::geomgraph::EdgeNodingValidator::EdgeNodingValidator ( std::vector< Edge * > &  edges)
inline

Definition at line 94 of file EdgeNodingValidator.h.

geos::geomgraph::EdgeNodingValidator::~EdgeNodingValidator ( )

Member Function Documentation

static void geos::geomgraph::EdgeNodingValidator::checkValid ( std::vector< Edge * > &  edges)
inlinestatic

Checks whether the supplied Edges are correctly noded.

Throws a TopologyException if they are not.

Parameters
edgesa collection of Edges.
Exceptions
TopologyExceptionif the SegmentStrings are not correctly noded

Definition at line 88 of file EdgeNodingValidator.h.

References checkValid().

Referenced by checkValid().

Here is the call graph for this function:

Here is the caller graph for this function:

void geos::geomgraph::EdgeNodingValidator::checkValid ( )
inline

Definition at line 104 of file EdgeNodingValidator.h.

References geos::noding::FastNodingValidator::checkValid().

Here is the call graph for this function:

std::vector<noding::SegmentString*>& geos::geomgraph::EdgeNodingValidator::toSegmentStrings ( std::vector< Edge * > &  edges)
private

Member Data Documentation

std::vector<geom::CoordinateSequence*> geos::geomgraph::EdgeNodingValidator::newCoordSeq
private

Definition at line 72 of file EdgeNodingValidator.h.

noding::FastNodingValidator geos::geomgraph::EdgeNodingValidator::nv
private

Definition at line 74 of file EdgeNodingValidator.h.

std::vector<noding::SegmentString*> geos::geomgraph::EdgeNodingValidator::segStr
private

Definition at line 66 of file EdgeNodingValidator.h.


The documentation for this class was generated from the following file: