VMESegment
class VMESegment(val duration: Double, val length: Double, val maneuverType: VMEManeuverType, val floorTransitionType: VMEFloorTransitionType, val floorTransitionId: String, val mPath: MutableList<VMEPosition>, val modality: String)(source)
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
modality
The modality of the segment.
An array of positions that make up the segment
Constructors
Link copied to clipboard
constructor(duration: Double, length: Double, maneuverType: VMEManeuverType, floorTransitionType: VMEFloorTransitionType, floorTransitionId: String, mPath: MutableList<VMEPosition>, modality: String)
Instantiates a segment object.
Properties
Link copied to clipboard
Retrieves the floor transition id of the segment. If there is no floor transition the method returns ""
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
Retrieves the maneuver type of the segment.
Link copied to clipboard
Retrieves the path of the segment.