GEOS 3.15.0beta1
geos::noding::SinglePassNoder Class Reference

Base class for Noders which make a single pass to find intersections. More...

#include <SinglePassNoder.h>

Inheritance diagram for geos::noding::SinglePassNoder:
geos::noding::Noder geos::noding::MCIndexNoder

Public Member Functions

 SinglePassNoder (SegmentIntersector *nSegInt=nullptr)
virtual void setSegmentIntersector (SegmentIntersector *newSegInt)
 Sets the SegmentIntersector to use with this noder.
Public Member Functions inherited from geos::noding::Noder
virtual void computeNodes (const std::vector< SegmentString * > &segStrings)=0
 Computes the noding for a collection of SegmentStrings.
virtual std::vector< std::unique_ptr< SegmentString > > getNodedSubstrings ()=0
 Returns a collection of fully noded SegmentStrings. The SegmentStrings have the same context as their parent.
virtual void computePathNodes (const std::vector< PathString * > &inputPaths)
virtual std::vector< std::unique_ptr< PathString > > getNodedPaths ()

Protected Attributes

SegmentIntersectorsegInt
 Externally owned.

Detailed Description

Base class for Noders which make a single pass to find intersections.

This allows using a custom SegmentIntersector (which for instance may simply identify intersections, rather than insert them).

Last port: noding/SinglePassNoder.java rev. 1.3 (JTS-1.7)

Member Function Documentation

◆ setSegmentIntersector()

virtual void geos::noding::SinglePassNoder::setSegmentIntersector ( SegmentIntersector * newSegInt)
inlinevirtual

Sets the SegmentIntersector to use with this noder.

A SegmentIntersector will normally add intersection nodes to the input segment strings, but it may not - it may simply record the presence of intersections. However, some Noders may require that intersections be added.

Parameters
newSegInt

References segInt.


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