ManeuverType

Enumeration representing possible types of maneuvers each Instruction can have.

Entries

Link copied to clipboard

Straight : -PI/9 <= a <= PI/9, a = angle with aimuth

Link copied to clipboard

Slight left turn : PI/9 < a <= PI/3, a = angle with azimuth

Link copied to clipboard

Left turn : PI/3 < a < 2*PI/3, a = angle with azimuth

Link copied to clipboard

Sharp left turn : 2PI/3 <= a < 14PI/15, a = angle with azimuth

Link copied to clipboard

U turn : a >= 14PI/15 or a <= -14PI/15, a = angle with azimuth

Link copied to clipboard

Sharp right turn : -14PI/15 < a <= -2PI/3, a = angle with azimuth

Link copied to clipboard

Right turn : -2*PI/3 < a < -PI/3, a = angle with azimuth

Link copied to clipboard

Slight right turn : -PI/3 <= a < -PI/9, a = angle with azimuth

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val byte: Byte
Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.