A model, providing access to the current measurement state. It is available as service measurement-3d.Model.

See Measurement3DModelProperties for documentation of class members.

interface Measurement3DModel {
    area: string;
    directDistance: string;
    horizontalDistance: string;
    mode: Measurement3DMode;
    perimeter: string;
    state: Measurement3DState;
    unit: any;
    verticalDistance: string;
}

Hierarchy (View Summary)

Properties

area: string

Locale specific representation of the area including the unit. Available if the mode is set to area.

directDistance: string

Locale specific representation of the direct distance including the unit. Available if the mode is set to distance.

horizontalDistance: string

Locale specific representation of the horizontal distance including the unit. Available if the mode is set to distance.

Measurement mode.

perimeter: string

Locale specific representation of the perimeter including the unit. Available if the mode is set to area.

Measurement state.

unit: any

Measurement unit is either unit system (metric, imperial) or a specific unit. Available if the mode is set to area or distance.

verticalDistance: string

Locale specific representation of the vertical distance including the unit. Available if the mode is set to distance.