|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.me.parabola.imgfmt.app.net.RouteNode
public class RouteNode
A routing node with its connections to other nodes via roads.
Field Summary | |
---|---|
static int |
ATH_DEFAULT_MASK
|
Constructor Summary | |
---|---|
RouteNode(Coord coord)
Deprecated. |
Method Summary | |
---|---|
void |
addArc(RouteArc arc)
|
void |
addIncomingArc(RouteArc arc)
|
void |
addRestriction(RouteRestriction restr)
|
void |
addThroughRoute(long roadIdA,
long roadIdB)
|
java.lang.Iterable<? extends RouteArc> |
arcsIteration()
|
int |
boundSize()
Provide an upper bound to the size (in bytes) that writing this node will take. |
void |
checkRoundaboutFlares(int maxFlareLengthRatio)
|
void |
checkRoundabouts()
|
int |
compareTo(RouteNode otherNode)
|
void |
discard()
|
RouteArc |
getArcTo(RouteNode otherNode)
|
Coord |
getCoord()
|
int |
getNodeClass()
Return the node's class, which is the maximum of classes of the roads it's on. |
int |
getOffsetNod1()
|
java.util.List<RouteRestriction> |
getRestrictions()
|
boolean |
isBoundary()
|
void |
reportDeadEnds(int level)
|
void |
reportSimilarArcs()
|
protected void |
setBoundary(boolean b)
|
void |
setOffsets(Coord centralPoint)
|
java.lang.String |
toString()
|
void |
tweezeArcs(int mask)
|
void |
write(ImgFileWriter writer)
Writes a nod1 entry. |
void |
writeNod3(ImgFileWriter writer)
Writes a nod3 entry. |
void |
writeSecond(ImgFileWriter writer)
Second pass over the nodes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int ATH_DEFAULT_MASK
Constructor Detail |
---|
@Deprecated public RouteNode(Coord coord)
Method Detail |
---|
protected void setBoundary(boolean b)
public boolean isBoundary()
public void addArc(RouteArc arc)
public void addIncomingArc(RouteArc arc)
public void addRestriction(RouteRestriction restr)
public RouteArc getArcTo(RouteNode otherNode)
public int boundSize()
public void write(ImgFileWriter writer)
public void writeNod3(ImgFileWriter writer)
public void discard()
public int getOffsetNod1()
public void setOffsets(Coord centralPoint)
public Coord getCoord()
public void writeSecond(ImgFileWriter writer)
public int getNodeClass()
public java.lang.Iterable<? extends RouteArc> arcsIteration()
public java.util.List<RouteRestriction> getRestrictions()
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(RouteNode otherNode)
compareTo
in interface java.lang.Comparable<RouteNode>
public void tweezeArcs(int mask)
public void checkRoundabouts()
public void checkRoundaboutFlares(int maxFlareLengthRatio)
public void reportSimilarArcs()
public void reportDeadEnds(int level)
public void addThroughRoute(long roadIdA, long roadIdB)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |