GEOS  3.9.1dev
Public Member Functions | List of all members
geos::geomgraph::index::EdgeSetIntersector Class Referenceabstract

An EdgeSetIntersector computes all the intersections between the edges in the set. More...

#include <EdgeSetIntersector.h>

Inheritance diagram for geos::geomgraph::index::EdgeSetIntersector:
[legend]

Public Member Functions

virtual void computeIntersections (std::vector< Edge * > *edges, SegmentIntersector *si, bool testAllSegments)=0
 Computes all self-intersections between edges in a set of edges, allowing client to choose whether self-intersections are computed. More...
 
virtual void computeIntersections (std::vector< Edge * > *edges0, std::vector< Edge * > *edges1, SegmentIntersector *si)=0
 Computes all mutual intersections between two sets of edges. More...
 
virtual ~EdgeSetIntersector ()
 

Detailed Description

An EdgeSetIntersector computes all the intersections between the edges in the set.

Note
This is derived from a Java interface.

Definition at line 41 of file EdgeSetIntersector.h.

Constructor & Destructor Documentation

virtual geos::geomgraph::index::EdgeSetIntersector::~EdgeSetIntersector ( )
inlinevirtual

Definition at line 62 of file EdgeSetIntersector.h.

Member Function Documentation

virtual void geos::geomgraph::index::EdgeSetIntersector::computeIntersections ( std::vector< Edge * > *  edges,
SegmentIntersector si,
bool  testAllSegments 
)
pure virtual

Computes all self-intersections between edges in a set of edges, allowing client to choose whether self-intersections are computed.

Parameters
edgesa list of edges to test for intersections
sithe SegmentIntersector to use
testAllSegmentstrue if self-intersections are to be tested as well

Implemented in geos::geomgraph::index::SimpleMCSweepLineIntersector, geos::geomgraph::index::SimpleSweepLineIntersector, and geos::geomgraph::index::SimpleEdgeSetIntersector.

virtual void geos::geomgraph::index::EdgeSetIntersector::computeIntersections ( std::vector< Edge * > *  edges0,
std::vector< Edge * > *  edges1,
SegmentIntersector si 
)
pure virtual

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