public class StreetBikeRentalLink extends Edge
Edge.ValidVertexTypes
Constructor and Description |
---|
StreetBikeRentalLink(BikeRentalStationVertex fromv,
StreetVertex tov) |
StreetBikeRentalLink(StreetVertex fromv,
BikeRentalStationVertex tov) |
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() |
String |
getName()
Gets english localized name
|
String |
getName(Locale locale)
Gets wanted localization
|
Vertex |
getToVertex() |
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, getTrip, getValidVertexTypes, hasBogusName, hashCode, isEquivalentTo, isPartial, isReverseOf, isRoundabout, optimisticTraverse, timeLowerBound, vertexTypesValid
public StreetBikeRentalLink(StreetVertex fromv, BikeRentalStationVertex tov)
public StreetBikeRentalLink(BikeRentalStationVertex fromv, StreetVertex tov)
public String getDirection()
Edge
getDirection
in class Edge
public double getDistance()
getDistance
in class Edge
public com.vividsolutions.jts.geom.LineString getGeometry()
getGeometry
in class Edge
public String getName(Locale locale)
Edge
public double weightLowerBound(RoutingRequest options)
Edge
weightLowerBound
in class Edge
public Vertex getFromVertex()
getFromVertex
in class Edge
public Vertex getToVertex()
getToVertex
in class Edge
Copyright © 2018. All rights reserved.