#include <OSMVertex.h>
Class that hold Open Street Map vertices.
Class that holds Open Street Map vertices from https://openstreetmap.org
- Author
- Kalpathi Subramanian
- Date
- 2/14/19
◆ OSMVertexID
◆ OSMVertex() [1/3]
| bridges::dataset::OSMVertex::OSMVertex |
( |
| ) |
|
|
inline |
◆ OSMVertex() [2/3]
| bridges::dataset::OSMVertex::OSMVertex |
( |
OSMVertexID |
vid, |
|
|
double |
latit, |
|
|
double |
longit |
|
) |
| |
|
inline |
◆ OSMVertex() [3/3]
| bridges::dataset::OSMVertex::OSMVertex |
( |
const OSMVertex * |
vert | ) |
|
|
inline |
◆ getCartesianCoords()
| void bridges::dataset::OSMVertex::getCartesianCoords |
( |
double * |
coords | ) |
const |
|
inline |
get Cartesian coords of lat/long
- Parameters
-
| [out] | coords | cartesian coordinate coords[0] is x, coords[1] is y |
◆ getLatitude()
| double bridges::dataset::OSMVertex::getLatitude |
( |
| ) |
const |
|
inline |
get latitude of node
- Returns
- latitude of the vertex
◆ getLongitude()
| double bridges::dataset::OSMVertex::getLongitude |
( |
| ) |
const |
|
inline |
get longitude of vertex
- Returns
- longitude of node
◆ getVertexID()
| OSMVertexID bridges::dataset::OSMVertex::getVertexID |
( |
| ) |
const |
|
inline |
◆ setLatitude()
| void bridges::dataset::OSMVertex::setLatitude |
( |
double |
latit | ) |
|
|
inline |
set latitude of quake location
- Parameters
-
◆ setLongitude()
| void bridges::dataset::OSMVertex::setLongitude |
( |
double |
longit | ) |
|
|
inline |
set longitude of vertex
- Parameters
-
◆ setVertexID()
| void bridges::dataset::OSMVertex::setVertexID |
( |
OSMVertexID |
vid | ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /home/erik/work/bridges/bridges-cxx/src/data_src/OSMVertex.h