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

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

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

Gets the duration (seconds) of the segment.

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 length (metres) of the segment.

Link copied to clipboard

Retrieves the maneuver type of the segment.

Link copied to clipboard

Retrieves the modality of the segment.

Link copied to clipboard

Retrieves the path of the segment.