GEOS  3.9.0dev
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
geos::geomgraph::index::SegmentIntersector Class Reference

Computes the intersection of line segments, and adds the intersection to the edges containing the segments. More...

#include <SegmentIntersector.h>

Public Member Functions

 SegmentIntersector (algorithm::LineIntersector *newLi, bool newIncludeProper, bool newRecordIsolated)
 
void setBoundaryNodes (std::vector< Node * > *bdyNodes0, std::vector< Node * > *bdyNodes1)
 Parameters are externally owned. Make sure they live for the whole lifetime of this object.
 
geom::CoordinategetProperIntersectionPoint ()
 
bool hasIntersection ()
 
bool hasProperIntersection ()
 
bool hasProperInteriorIntersection ()
 
void addIntersections (Edge *e0, size_t segIndex0, Edge *e1, size_t segIndex1)
 
void setIsDoneIfProperInt (bool isDoneWhenProperInt)
 
bool getIsDone ()
 

Static Public Member Functions

static bool isAdjacentSegments (size_t i1, size_t i2)
 

Public Attributes

int numTests
 

Detailed Description

Computes the intersection of line segments, and adds the intersection to the edges containing the segments.


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