All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pgrouting::XY_vertex Class Reference

#include "xy_vertex.h"

Public Member Functions

 XY_vertex ()=default
 XY_vertex (const XY_vertex &)=default
 XY_vertex (const int64_t _id, double _x, double _y)
 XY_vertex (const Pgr_edge_xy_t &other, bool is_source)
void cp_members (const XY_vertex &other)
bool operator== (const XY_vertex &rhs) const
double x () const
double y () const

Public Attributes

int64_t id
Point point


std::ostream & operator<< (std::ostream &log, const XY_vertex &v)

Detailed Description

Definition at line 49 of file xy_vertex.h.

Constructor & Destructor Documentation

pgrouting::XY_vertex::XY_vertex ( )
pgrouting::XY_vertex::XY_vertex ( const XY_vertex )
pgrouting::XY_vertex::XY_vertex ( const int64_t  _id,
double  _x,
double  _y 

Definition at line 53 of file xy_vertex.h.

pgrouting::XY_vertex::XY_vertex ( const Pgr_edge_xy_t other,
bool  is_source 

Definition at line 57 of file xy_vertex.h.

Member Function Documentation

void pgrouting::XY_vertex::cp_members ( const XY_vertex other)

Definition at line 66 of file xy_vertex.h.

References id, and point.

bool pgrouting::XY_vertex::operator== ( const XY_vertex rhs) const

Definition at line 43 of file xy_vertex.cpp.

References id, and point.

double pgrouting::XY_vertex::x ( ) const

Definition at line 63 of file xy_vertex.h.

References point.

double pgrouting::XY_vertex::y ( ) const

Definition at line 64 of file xy_vertex.h.

References point.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  log,
const XY_vertex v 

Definition at line 37 of file xy_vertex.cpp.

Member Data Documentation

int64_t pgrouting::XY_vertex::id
Point pgrouting::XY_vertex::point

Definition at line 76 of file xy_vertex.h.

Referenced by cp_members(), pgrouting::operator<<(), operator==(), x(), and y().

The documentation for this class was generated from the following files: