public class ElevatorAlightEdge extends Edge implements ElevatorEdge
Edge.ValidVertexTypes
Constructor and Description |
---|
ElevatorAlightEdge(ElevatorOnboardVertex from,
ElevatorOffboardVertex to,
String level) |
Modifier and Type | Method and Description |
---|---|
double |
getDistance() |
org.locationtech.jts.geom.LineString |
getGeometry() |
String |
getName()
The level from OSM is the name
|
String |
getName(Locale locale)
Gets wanted localization
|
boolean |
hasBogusName()
The name is not bogus; it's level n from OSM.
|
String |
toString() |
State |
traverse(State s0)
Traverse this edge.
|
getAzimuth, getDirection, getDisplayGeometry, getFromVertex, getId, getToVertex, getTrip, getValidVertexTypes, hashCode, isEquivalentTo, isPartial, isReverseOf, isRoundabout, optimisticTraverse, timeLowerBound, vertexTypesValid, weightLowerBound
public ElevatorAlightEdge(ElevatorOnboardVertex from, ElevatorOffboardVertex to, String level)
level
- It's a float for future expansion.public double getDistance()
getDistance
in class Edge
public org.locationtech.jts.geom.LineString getGeometry()
getGeometry
in class Edge
public String getName()
public boolean hasBogusName()
hasBogusName
in class Edge
Copyright © 2020. All rights reserved.