GEOS  3.9.1dev
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:
[legend]
Collaboration diagram for geos::noding::SegmentSetMutualIntersector:
[legend]

Public Member Functions

 SegmentSetMutualIntersector ()
 
virtual ~SegmentSetMutualIntersector ()
 
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

Definition at line 37 of file SegmentSetMutualIntersector.h.

Constructor & Destructor Documentation

geos::noding::SegmentSetMutualIntersector::SegmentSetMutualIntersector ( )
inline

Definition at line 40 of file SegmentSetMutualIntersector.h.

virtual geos::noding::SegmentSetMutualIntersector::~SegmentSetMutualIntersector ( )
inlinevirtual

Definition at line 45 of file SegmentSetMutualIntersector.h.

Member Function Documentation

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.

Referenced by setSegmentIntersector().

Here is the caller graph for this function:

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

Implemented in geos::noding::MCIndexSegmentSetMutualIntersector.

Referenced by setSegmentIntersector().

Here is the caller graph for this function:

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

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

Parameters
sithe segment intersector to use

Definition at line 55 of file SegmentSetMutualIntersector.h.

References process(), segInt, and setBaseSegments().

Here is the call graph for this function:

Member Data Documentation

SegmentIntersector* geos::noding::SegmentSetMutualIntersector::segInt
protected

Definition at line 75 of file SegmentSetMutualIntersector.h.

Referenced by setSegmentIntersector().


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