MeasurementProperties¶
Interface MeasurementProperties
interface MeasurementProperties {
anchorPosition?:
| Float32Array<ArrayBufferLike>
| [number, number, number];
connectedNodeIds?: number[];
contentOffset?: Float32Array<ArrayBufferLike> | [number, number, number];
enabled?: boolean;
name?: string;
result?: MeasurementResult;
state?: MeasurementState;
targets?: MeasurementTarget[];
type?: MeasurementType;
}
anchorPosition?:
| Float32Array<ArrayBufferLike>
| [number, number, number];
connectedNodeIds?: number[];
contentOffset?: Float32Array<ArrayBufferLike> | [number, number, number];
enabled?: boolean;
name?: string;
result?: MeasurementResult;
state?: MeasurementState;
targets?: MeasurementTarget[];
type?: MeasurementType;
}
Optionalanchor
anchorPosition?: Float32Array<ArrayBufferLike> | [number, number, number]
The anchor position of the measurement annotation. Together with the contentOffset, this defines the position of the measurement annotation.
Optional Readonlyconnected
connectedNodeIds?: number[]
The IDs of nodes that are represented by or related to the targets of the measurement.
Optionalcontent
contentOffset?: Float32Array<ArrayBufferLike> | [number, number, number]
The offset of the measurement annotation from its anchorPosition.
Optionalenabled
enabled?: boolean
Defines whether the measurement annotation is visible.
Optionalname
name?: string
The name of the measurement. This is independent of and does not influence the measurement's ID.
Optional Readonlyresult
The result of the measurement. The content of the result depends on the type of the measurement.
Optional Readonlystate
The state of the measurement.
Optional Readonlytargets
The targets of the measurement. The content of this array depends on the type of the measurement.
Optional Readonlytype
The type of the measurement.
The properties of a measurement entity in the webvis context.
See
MeasurementAPI