public class PillarInfo extends Object implements PointAccess
| Constructor and Description |
|---|
PillarInfo(boolean enabled3D,
Directory dir) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
ensureNode(int nodeId)
This method ensures that the node with the specified index exists i.e.
|
int |
getDimension() |
double |
getEle(int id) |
double |
getElevation(int id)
Returns the elevation of the specified nodeId.
|
double |
getLat(int id) |
double |
getLatitude(int id) |
double |
getLon(int id) |
double |
getLongitude(int id) |
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.
|
public PillarInfo(boolean enabled3D,
Directory dir)
public boolean is3D()
is3D in interface PointAccesspublic int getDimension()
getDimension in interface PointAccesspublic void ensureNode(int nodeId)
PointAccessensureNode in interface PointAccesspublic void setNode(int nodeId,
double lat,
double lon)
PointAccessThis methods sets the latitude, longitude and elevation to the specified value.
setNode in interface PointAccesspublic void setNode(int nodeId,
double lat,
double lon,
double ele)
PointAccessThis methods sets the latitude, longitude and elevation to the specified value.
setNode in interface PointAccesspublic double getLatitude(int id)
getLatitude in interface PointAccesspublic double getLat(int id)
getLat in interface PointAccesspublic double getLongitude(int id)
getLongitude in interface PointAccesspublic double getLon(int id)
getLon in interface PointAccesspublic double getElevation(int id)
PointAccessgetElevation in interface PointAccesspublic double getEle(int id)
getEle in interface PointAccesspublic void clear()
Copyright © 2012–2018. All rights reserved.