public interface PointAccess
Modifier and Type | Method and Description |
---|---|
void |
ensureNode(int nodeId)
This method ensures that the node with the specified index exists i.e.
|
int |
getDimension() |
double |
getEle(int nodeId) |
double |
getElevation(int nodeId)
Returns the elevation of the specified nodeId.
|
double |
getLat(int nodeId) |
double |
getLatitude(int nodeId) |
double |
getLon(int nodeId) |
double |
getLongitude(int nodeId) |
boolean |
is3D() |
void |
setNode(int nodeId,
double lat,
double lon)
This method ensures that the node with the specified index exists and prepares access to it.
|
void |
setNode(int nodeId,
double lat,
double lon,
double ele)
This method ensures that the node with the specified index exists and prepares access to it.
|
boolean is3D()
int getDimension()
void ensureNode(int nodeId)
void setNode(int nodeId, double lat, double lon)
This methods sets the latitude, longitude and elevation to the specified value.
void setNode(int nodeId, double lat, double lon, double ele)
This methods sets the latitude, longitude and elevation to the specified value.
double getLatitude(int nodeId)
double getLat(int nodeId)
double getLongitude(int nodeId)
double getLon(int nodeId)
double getElevation(int nodeId)
double getEle(int nodeId)
Copyright © 2012–2020. All rights reserved.