27 #ifndef INCLUDE_CPP_COMMON_XY_VERTEX_H_ 28 #define INCLUDE_CPP_COMMON_XY_VERTEX_H_ 44 XY_vertex(
const int64_t _id,
double _x,
double _y) :
49 id(is_source? other.source : other.target),
73 std::vector < XY_vertex >
77 std::vector < XY_vertex >
79 const std::vector < Pgr_edge_xy_t > &data_edges);
83 std::vector < XY_vertex > vertices,
87 std::vector < XY_vertex > vertices,
88 const std::vector < Pgr_edge_xy_t > data_edges);
93 #endif // INCLUDE_CPP_COMMON_XY_VERTEX_H_
bool operator==(const XY_vertex &rhs) const
bg::model::d2::point_xy< double > Bpoint
friend std::ostream & operator<<(std::ostream &log, const XY_vertex &v)
std::vector< Basic_vertex > extract_vertices(std::vector< Basic_vertex > vertices, const std::vector< pgr_edge_t > data_edges)
XY_vertex(const Pgr_edge_xy_t &other, bool is_source)
void cp_members(const XY_vertex &other)
XY_vertex(const int64_t _id, double _x, double _y)
Book keeping class for swapping orders between vehicles.
size_t check_vertices(std::vector< Basic_vertex > vertices)