VMESegment

fun VMESegment(duration: Double, length: Double, maneuverType: VMEManeuverType, floorTransitionType: VMEFloorTransitionType, floorTransitionId: String, mPath: MutableList<VMEPosition>)

Instantiates a segment object.

Parameters

maneuverType

The maneuver that describes the end of the segment.

floorTransitionType

The floor transition type when a floor transition occurs.

floorTransitionId

The id of the floor transition.

duration

The duration (seconds) of the segment.

length

The length (metres) of the segment.

mPath

An array of positions that make up the segment