public static class GHUtility.DisabledNodeAccess extends Object implements NodeAccess
| Constructor and Description |
|---|
DisabledNodeAccess() |
| Modifier and Type | Method and Description |
|---|---|
void |
ensureNode(int nodeId) |
int |
getDimension() |
double |
getEle(int nodeId) |
double |
getElevation(int nodeId) |
double |
getLat(int nodeId) |
double |
getLatitude(int nodeId) |
double |
getLon(int nodeId) |
double |
getLongitude(int nodeId) |
int |
getTurnCostIndex(int nodeId) |
boolean |
is3D() |
void |
setNode(int nodeId,
double lat,
double lon) |
void |
setNode(int nodeId,
double lat,
double lon,
double ele) |
void |
setTurnCostIndex(int nodeId,
int additionalValue)
Sets the turn cost index for this node, using
TurnCostStorage.NO_TURN_ENTRY means there
are no turn costs at this node. |
public int getTurnCostIndex(int nodeId)
getTurnCostIndex in interface NodeAccessTurnCostStorage.NO_TURN_ENTRY
in case no turn costs were stored for this nodepublic void setTurnCostIndex(int nodeId,
int additionalValue)
NodeAccessTurnCostStorage.NO_TURN_ENTRY means there
are no turn costs at this node.
setTurnCostIndex in interface NodeAccesspublic boolean is3D()
is3D in interface PointAccesspublic int getDimension()
getDimension in interface PointAccesspublic void ensureNode(int nodeId)
ensureNode in interface PointAccesspublic void setNode(int nodeId,
double lat,
double lon)
setNode in interface PointAccesspublic void setNode(int nodeId,
double lat,
double lon,
double ele)
setNode in interface PointAccesspublic double getLatitude(int nodeId)
getLatitude in interface PointAccesspublic double getLat(int nodeId)
getLat in interface PointAccesspublic double getLongitude(int nodeId)
getLongitude in interface PointAccesspublic double getLon(int nodeId)
getLon in interface PointAccesspublic double getElevation(int nodeId)
getElevation in interface PointAccesspublic double getEle(int nodeId)
getEle in interface PointAccessCopyright © 2012–2020. All rights reserved.