VMESegment
class VMESegment(duration: Double, length: Double, maneuverType: VMEManeuverType, floorTransitionType: VMEFloorTransitionType, floorTransitionId: String, mPath: MutableList<VMEPosition>)
Content copied to clipboard
A segment describes a part of a computed route.
Since
1.19
1.22
1.19
Parameters
maneuver Type
The maneuver that describes the end of the segment.
floor Transition Type
The floor transition type when a floor transition occurs.
floor Transition Id
The id of the floor transition.
duration
The duration (seconds) of the segment.
length
The length (metres) of the segment.
m Path
An array of positions that make up the segment
Constructors
Link copied to clipboard
fun VMESegment(duration: Double, length: Double, maneuverType: VMEManeuverType, floorTransitionType: VMEFloorTransitionType, floorTransitionId: String, mPath: MutableList<VMEPosition>)
Content copied to clipboard
Instantiates a segment object.
Properties
Link copied to clipboard
Retrieves the floor transition type of the segment. If there is no floor transition the method returns VMEFloorTransitionType.NONE
Link copied to clipboard