pgRouting
pgRouting extends the PostGIS / PostgreSQL geospatial database to provide geospatial routing functionality.
 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
 

Friends

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

Detailed Description

Definition at line 42 of file xy_vertex.h.

Constructor & Destructor Documentation

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

Definition at line 46 of file xy_vertex.h.

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

Definition at line 50 of file xy_vertex.h.

Member Function Documentation

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

Definition at line 59 of file xy_vertex.h.

References id, and point.

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

Definition at line 50 of file xy_vertex.cpp.

References id, and point.

double pgrouting::XY_vertex::x ( ) const
inline

Definition at line 56 of file xy_vertex.h.

References point::x.

double pgrouting::XY_vertex::y ( ) const
inline

Definition at line 57 of file xy_vertex.h.

References point::y.

Friends And Related Function Documentation

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

Definition at line 44 of file xy_vertex.cpp.

Member Data Documentation

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

Definition at line 69 of file xy_vertex.h.

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


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