PGROUTING  3.2
pgrouting::Pg_points_graph::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 41 of file pgr_withPoints.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 42 of file pgr_withPoints.hpp.

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

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


The documentation for this struct was generated from the following file:
Point_on_edge_t::pid
int64_t pid
Definition: point_on_edge_t.h:38
Point_on_edge_t::fraction
double fraction
Definition: point_on_edge_t.h:41