Nodes a set of SegmentString using a index based on index::chain::MonotoneChain and a index::SpatialIndex. More...
#include <MCIndexNoder.h>
Public Member Functions | |
MCIndexNoder (SegmentIntersector *nSegInt=NULL) | |
std::vector < index::chain::MonotoneChain * > & | getMonotoneChains () |
Return a reference to this instance's std::vector of MonotoneChains. | |
index::SpatialIndex & | getIndex () |
std::vector< SegmentString * > * | getNodedSubstrings () const |
void | computeNodes (std::vector< SegmentString * > *inputSegmentStrings) |
Nodes a set of SegmentString using a index based on index::chain::MonotoneChain and a index::SpatialIndex.
The SpatialIndex used should be something that supports envelope (range) queries efficiently (such as a index::quadtree::Quadtree or index::strtree::STRtree.
Last port: noding/MCIndexNoder.java rev. 1.4 (JTS-1.7)
void geos::noding::MCIndexNoder::computeNodes | ( | std::vector< SegmentString * > * | segStrings | ) | [virtual] |
Computes the noding for a collection of SegmentStrings.
segStrings | a collection of SegmentStrings to node |
Implements geos::noding::SinglePassNoder.
std::vector<SegmentString*>* geos::noding::MCIndexNoder::getNodedSubstrings | ( | ) | const [virtual] |
Returns a Collection of fully noded SegmentStrings. The SegmentStrings have the same context as their parent.
Implements geos::noding::SinglePassNoder.