22 #ifndef GEOS_GEOMGRAPH_EDGEINTERSECTION_H 23 #define GEOS_GEOMGRAPH_EDGEINTERSECTION_H 58 size_t newSegmentIndex,
double newDist)
62 segmentIndex(newSegmentIndex)
68 if(segmentIndex == 0 && dist == 0.0) {
71 if(segmentIndex == maxSegmentIndex) {
153 #endif // ifndef GEOS_GEOMGRAPH_EDGEINTERSECTION_H
EdgeIntersection(const geom::Coordinate &newCoord, size_t newSegmentIndex, double newDist)
Coordinate is the lightweight class used to store coordinates.
bool operator()(const EdgeIntersection *ei1, const EdgeIntersection *ei2) const
bool operator()(const EdgeIntersection &ei1, const EdgeIntersection &ei2) const
Represents a point on an edge which intersects with another edge.
double getDistance() const
bool operator==(const EdgeIntersection &other) const
bool operator<(const EdgeIntersection &ei1, const EdgeIntersection &ei2)
std::ostream & operator<<(std::ostream &os, const Edge &el)
Basic namespace for all GEOS functionalities.
const geom::Coordinate & getCoordinate() const
bool isEndPoint(size_t maxSegmentIndex) const
size_t getSegmentIndex() const