this is a class that defines an OpenStreet Map node or vertex
Objects from this class are typically not created by the user but contained in the OsmData object returned by bridges::connect::DataSource::getOsmData()
Check out how to use OSM data at: https://bridgesuncc.github.io/tutorials/Data_OSM.html
- Author
- Erik Saule, Kalpathi Subramanian,
- Date
- 12/26/20
◆ OsmVertex()
bridges.data_src_dependent.OsmVertex.OsmVertex |
( |
double |
latitude, |
|
|
double |
longitude |
|
) |
| |
constructor for OsmVertex
- Parameters
-
latitude | double, latitude of vertex |
longitude | double, longitude of vertex |
◆ getCartesian_coord()
double [] bridges.data_src_dependent.OsmVertex.getCartesian_coord |
( |
| ) |
|
get cartesian coordinates of vertex, translated from the latitude and longitude of the vertex.
- Returns
- double[], {x, y}
◆ getLatitude()
double bridges.data_src_dependent.OsmVertex.getLatitude |
( |
| ) |
|
get latitude of vertex
- Returns
- double
◆ getLongitude()
double bridges.data_src_dependent.OsmVertex.getLongitude |
( |
| ) |
|
get longitude of vertex
- Returns
- double
◆ setLatitude()
void bridges.data_src_dependent.OsmVertex.setLatitude |
( |
double |
latitude | ) |
|
set latitude of vertex
- Parameters
-
◆ setLongitude()
void bridges.data_src_dependent.OsmVertex.setLongitude |
( |
double |
longitude | ) |
|
set longitude of vertex
- Parameters
-
◆ longitude
double bridges.data_src_dependent.OsmVertex.longitude |
|
package |
The documentation for this class was generated from the following file:
- /home/erik/work/bridges/bridges-java/src/main/java/bridges/data_src_dependent/OsmVertex.java