Class PathSegmentExperimental

A segment of a complete path. This can be a continuous portion of the path on a single floor, or the transition of a path between two floors, or a transition between indoors and outdoors.

Implements

Constructors

Properties

Accessors

Methods

Constructors

Properties

coordinates: Coordinate[]
id: string

Accessors

  • get distance(): number
    Experimental

    The distance of the path segment in meters.

    Returns number

  • get isConnectionSegment(): boolean
    Experimental

    Whether the path segment is a connection segment between two floors.

    Returns boolean

Methods

  • Experimental

    Checks if the provided instance is a PathSegment.

    Parameters

    • instance: object

    Returns instance is PathSegment