MeasurementProperties¶
Type Alias MeasurementProperties
MeasurementProperties: {
anchorPosition?: [number, number, number] | Float32Array;
connectedNodeIds?: number[];
contentOffset?: [number, number, number] | Float32Array;
enabled?: boolean;
name?: string;
result?: MeasurementResult;
state?: MeasurementState;
targets?: MeasurementTarget[];
type?: MeasurementType;
}
anchorPosition?: [number, number, number] | Float32Array;
connectedNodeIds?: number[];
contentOffset?: [number, number, number] | Float32Array;
enabled?: boolean;
name?: string;
result?: MeasurementResult;
state?: MeasurementState;
targets?: MeasurementTarget[];
type?: MeasurementType;
}
Type declaration
OptionalanchorPosition?: [number, number, number] | Float32ArrayThe anchor position of the measurement annotation. Together with the contentOffset, this defines the position of the measurement annotation.
OptionalReadonlyconnectedNodeIds?: number[]The IDs of nodes that are represented by or related to the targets of the measurement.
OptionalcontentOffset?: [number, number, number] | Float32ArrayThe offset of the measurement annotation from its anchorPosition.
Optionalenabled?: booleanDefines whether the measurement annotation is visible.
Optionalname?: stringThe name of the measurement. This is independent of and does not influence the measurement's ID.
OptionalReadonlyresult?: MeasurementResultThe result of the measurement. The content of the result depends on the type of the measurement.
OptionalReadonlystate?: MeasurementStateThe state of the measurement.
OptionalReadonlytargets?: MeasurementTarget[]The targets of the measurement. The content of this array depends on the type of the measurement.
OptionalReadonlytype?: MeasurementTypeThe type of the measurement.
The properties of a measurement entity in the webvis context.