Constructor and Description |
---|
Leg() |
Modifier and Type | Method and Description |
---|---|
abstract float |
getDistance()
Returns the length of this leg, in meters.
|
abstract int |
getFirstPointIndex()
Returns the index of the first point (inclusive) of this leg's geometry in the route
geometry.
|
GeoPointsList |
getGeometry()
Returns the geometry of this leg.
|
abstract int |
getLastPointIndex()
Returns the index of the last point (inclusive) of this leg's geometry in the route
geometry.
|
abstract List<Route.Maneuver> |
getManeuvers()
Returns the list of maneuvers this leg consists of.
|
abstract float |
getTravelTime()
Returns the estimated travel time along the leg, in seconds.
|
public abstract float getDistance()
public abstract float getTravelTime()
public abstract int getFirstPointIndex()
public abstract int getLastPointIndex()
public GeoPointsList getGeometry()
public abstract List<Route.Maneuver> getManeuvers()