public class PathwayEdge extends Edge
Edge.ValidVertexTypes
Constructor and Description |
---|
PathwayEdge(Vertex fromv,
Vertex tov,
int traversalTime) |
PathwayEdge(Vertex fromv,
Vertex tov,
int traversalTime,
int wheelchairTraversalTime) |
Modifier and Type | Method and Description |
---|---|
String |
getDirection()
Get a direction on paths where it matters, or null
|
double |
getDistance() |
org.locationtech.jts.geom.LineString |
getGeometry() |
TraverseMode |
getMode() |
String |
getName()
Gets english localized name
|
String |
getName(Locale locale)
Gets wanted localization
|
State |
traverse(State s0)
Traverse this edge.
|
getAzimuth, getDisplayGeometry, getFromVertex, getId, getToVertex, getTrip, getValidVertexTypes, hasBogusName, hashCode, isEquivalentTo, isPartial, isReverseOf, isRoundabout, optimisticTraverse, timeLowerBound, toString, vertexTypesValid, weightLowerBound
public PathwayEdge(Vertex fromv, Vertex tov, int traversalTime, int wheelchairTraversalTime)
public String getDirection()
Edge
getDirection
in class Edge
public double getDistance()
getDistance
in class Edge
public TraverseMode getMode()
public org.locationtech.jts.geom.LineString getGeometry()
getGeometry
in class Edge
public String getName(Locale locale)
Edge
Copyright © 2019. All rights reserved.