24#include <geos/export.h> 
   26#include <geos/geom/Coordinate.h>  
   52    std::size_t segmentIndex;
 
   55                     std::size_t newSegmentIndex, 
double newDist)
 
   59        segmentIndex(newSegmentIndex)
 
   63    isEndPoint(std::size_t maxSegmentIndex)
 const 
   65        if(segmentIndex == 0 && dist == 0.0) {
 
   68        if(segmentIndex == maxSegmentIndex) {
 
   81    getSegmentIndex()
 const 
   93        return segmentIndex == other.segmentIndex &&
 
 
  107    if(ei1.segmentIndex < ei2.segmentIndex) {
 
  110    if(ei1.segmentIndex == ei2.segmentIndex) {
 
  111        if(ei1.dist < ei2.dist) {
 
 
  123struct GEOS_DLL  EdgeIntersectionLessThen {
 
  125    operator()(
const EdgeIntersection* ei1,
 
  126               const EdgeIntersection* ei2)
 const 
  132    operator()(
const EdgeIntersection& ei1,
 
  133               const EdgeIntersection& ei2)
 const 
  143    os << e.coord << 
" seg # = " << e.segmentIndex << 
" dist = " << e.dist;
 
 
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:217
 
Represents a point on an edge which intersects with another edge.
Definition EdgeIntersection.h:42
 
bool operator<(const EdgeIntersection &ei1, const EdgeIntersection &ei2)
Definition EdgeIntersection.h:105
 
Basic namespace for all GEOS functionalities.
Definition geos.h:38