public interface CHEdgeIteratorState extends EdgeIteratorState
CHGraph
,
CHEdgeIterator
K_UNFAVORED_EDGE
Modifier and Type | Method and Description |
---|---|
boolean |
canBeOverwritten(long flags)
This method is only used on preparation.
|
int |
getSkippedEdge1() |
int |
getSkippedEdge2() |
double |
getWeight()
Returns the weight of this shortcut.
|
boolean |
isShortcut() |
void |
setSkippedEdges(int edge1,
int edge2)
Sets the edges that this shortcut skips.
|
CHEdgeIteratorState |
setWeight(double weight)
Sets the weight calculated from Weighting.calcWeight, only applicable if isShortcut is true.
|
copyPropertiesTo, detach, fetchWayGeometry, getAdditionalField, getAdjNode, getBaseNode, getBool, getDistance, getEdge, getFlags, getName, isBackward, isForward, setAdditionalField, setDistance, setFlags, setName, setWayGeometry
int getSkippedEdge1()
int getSkippedEdge2()
void setSkippedEdges(int edge1, int edge2)
boolean isShortcut()
boolean canBeOverwritten(long flags)
double getWeight()
CHEdgeIteratorState setWeight(double weight)
Copyright © 2012–2016. All rights reserved.