GEOS  3.9.0dev
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:
geos::geomgraph::index::SimpleEdgeSetIntersector geos::geomgraph::index::SimpleMCSweepLineIntersector geos::geomgraph::index::SimpleSweepLineIntersector

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.
 

Detailed Description

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

Note
This is derived from a Java interface.

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.


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