PGROUTING  2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pointCompare Struct Reference

Public Member Functions

bool operator() (const Point_on_edge_t &lhs, const Point_on_edge_t &rhs) const
 

Detailed Description

Definition at line 220 of file pgr_withPoints.cpp.

Member Function Documentation

bool pointCompare::operator() ( const Point_on_edge_t lhs,
const Point_on_edge_t rhs 
) const
inline

Definition at line 221 of file pgr_withPoints.cpp.

References Point_on_edge_t::fraction, and Point_on_edge_t::pid.

224  {return lhs.fraction < rhs.fraction? true : lhs.pid < rhs.pid;}

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