GEOS 3.11.1
Public Member Functions | Protected Attributes | List of all members
geos::noding::SegmentSetMutualIntersector Class Referenceabstract

An intersector for the red-blue intersection problem. More...

#include <SegmentSetMutualIntersector.h>

Inheritance diagram for geos::noding::SegmentSetMutualIntersector:
geos::noding::MCIndexSegmentSetMutualIntersector

Public Member Functions

void setSegmentIntersector (SegmentIntersector *si)
 
virtual void setBaseSegments (SegmentString::ConstVect *segStrings)=0
 
virtual void process (SegmentString::ConstVect *segStrings)=0
 

Protected Attributes

SegmentIntersectorsegInt
 

Detailed Description

An intersector for the red-blue intersection problem.

In this class of line arrangement problem, two disjoint sets of linestrings are provided. It is assumed that within each set, no two linestrings intersect except possibly at their endpoints. Implementations can take advantage of this fact to optimize processing.

Author
Martin Davis
Version
1.10

Member Function Documentation

◆ process()

virtual void geos::noding::SegmentSetMutualIntersector::process ( SegmentString::ConstVect *  segStrings)
pure virtual

Computes the intersections for two collections of SegmentStrings.

Parameters
segStringsa collection of SegmentStrings to node

Implemented in geos::noding::MCIndexSegmentSetMutualIntersector.

◆ setBaseSegments()

virtual void geos::noding::SegmentSetMutualIntersector::setBaseSegments ( SegmentString::ConstVect *  segStrings)
pure virtual
Parameters
segStringsa collection of SegmentStrings to node

Implemented in geos::noding::MCIndexSegmentSetMutualIntersector.

◆ setSegmentIntersector()

void geos::noding::SegmentSetMutualIntersector::setSegmentIntersector ( SegmentIntersector si)
inline

Sets the SegmentIntersector to use with this intersector. The SegmentIntersector will either record or add intersection nodes for the input segment strings.

Parameters
sithe segment intersector to use

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