RouteTerrainProfile class
Route terrain profile
This class should not be instantiated directly. Instead, use the RouteBase.terrainProfile
getter to obtain an instance.
Note that the RoutePreferences.buildTerrainProfile setting should be configured correctly when calling the RoutingService.calculateRoute method for the RouteBase.terrainProfile
getter to return a valid object.
Constructors
- RouteTerrainProfile.init(int id, int mapId)
Properties
-
climbSections
→ List<
ClimbSection> -
Get list of route climb sections.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- mapId → int
-
no setter
- maxElevation → double
-
Get terrain maximum elevation.
no setter
- maxElevationDistance → int
-
Get the distance (from route start) where the elevation is maximum.
no setter
- minElevation → double
-
Get terrain minimum elevation.
no setter
- minElevationDistance → int
-
Get the distance (from route start) where the elevation is minimum.
no setter
- pointerId → int
-
no setter
-
roadTypeSections
→ List<
RoadTypeSection> -
Get list of route type sections.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
surfaceSections
→ List<
SurfaceSection> -
Get list of route surface sections.
no setter
- totalDown → double
-
Get total terrain elevation down.
no setter
- totalUp → double
-
Get total terrain elevation up.
no setter
Methods
-
dispose(
) → void -
getElevation(
int distance) → double - Get elevation at the given distance in meters from departure point/start of route.
-
getElevationSamples(
int countSamples, int distBegin, int distEnd) → Pair< List, double> - Get elevation samples list.
-
getSteepSections(
List< double> categs) → List<SteepSection> - Get list of route sections which are abrupt, that is, they have a significant elevation change.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAutoReleaseObject(
int pointerId) → void -
Registers an object for auto release.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited