public class StreetTransitLink extends Edge
Edge.ValidVertexTypes| Constructor and Description |
|---|
StreetTransitLink(StreetVertex fromv,
TransitStop tov,
boolean wheelchairAccessible) |
StreetTransitLink(TransitStop fromv,
StreetVertex tov,
boolean wheelchairAccessible) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDirection()
Get a direction on paths where it matters, or null
|
double |
getDistance() |
Vertex |
getFromVertex() |
com.vividsolutions.jts.geom.LineString |
getGeometry() |
TraverseMode |
getMode() |
String |
getName()
Gets english localized name
|
String |
getName(Locale locale)
Gets wanted localization
|
Vertex |
getToVertex() |
org.onebusaway.gtfs.model.Trip |
getTrip()
This should only be called inside State; other methods should call
org.opentripplanner.routing.core.State.getBackTrip()
|
boolean |
isRoundabout()
Edges are not roundabouts by default.
|
State |
optimisticTraverse(State s0) |
String |
toString() |
State |
traverse(State s0)
Traverse this edge.
|
double |
weightLowerBound(RoutingRequest options)
Returns a lower bound on edge weight given the routing options.
|
getAzimuth, getId, getValidVertexTypes, hasBogusName, hashCode, isEquivalentTo, isPartial, isReverseOf, timeLowerBound, vertexTypesValidpublic StreetTransitLink(StreetVertex fromv, TransitStop tov, boolean wheelchairAccessible)
public StreetTransitLink(TransitStop fromv, StreetVertex tov, boolean wheelchairAccessible)
public String getDirection()
EdgegetDirection in class Edgepublic double getDistance()
getDistance in class Edgepublic com.vividsolutions.jts.geom.LineString getGeometry()
getGeometry in class Edgepublic TraverseMode getMode()
public String getName(Locale locale)
Edgepublic State optimisticTraverse(State s0)
optimisticTraverse in class Edgepublic double weightLowerBound(RoutingRequest options)
EdgeweightLowerBound in class Edgepublic Vertex getFromVertex()
getFromVertex in class Edgepublic Vertex getToVertex()
getToVertex in class Edgepublic org.onebusaway.gtfs.model.Trip getTrip()
Edgepublic boolean isRoundabout()
EdgeisRoundabout in class EdgeCopyright © 2018. All rights reserved.