Constructor for MeasurementsState.
The renderer instance.
Gets the aggregation mode.
Sets the aggregation mode.
The aggregation mode.
Gets the command changed event.
Gets the current command.
Gets the current measurement.
Gets the ghost point visible status.
Sets the ghost point visible status.
The status.
Gets the movement by duplicate status.
Gets the last ID.
Gets the last X coordinate.
Sets the last X coordinate.
The X coordinate.
Gets the last Y coordinate.
Sets the last Y coordinate.
The Y coordinate.
Gets the measurement system.
Sets the measurement system.
The measurement unit.
Gets the measurements point push back event.
Gets the measurements selected event.
Gets the measurements updated event.
Checks if measuring is in progress.
Gets the next ID.
Gets the point just inserted status.
Sets the point just inserted status.
The status.
Gets the previous command.
Adds a highlighted measurement.
The measurement to add.
Adds a measurement.
The measurement type.
Whether the measurement is negative.
The measurement color.
The fill pattern.
Adds a measurement from data.
The measurement data.
Adds a measurement from another measurement.
The measurement to add from.
Whether to clone the geometry.
Adds a tagged measurement from data.
The measurement data.
The measurement color.
Optional
offset: SceneOffsetThe scene offset.
Deletes a measurement.
The measurement to delete.
Duplicates the highlighted measurement and moves it to a new position.
A promise that resolves to true
if duplication was successful, false
otherwise.
The x-coordinate of the new position.
The y-coordinate of the new position.
Finds a measurement by dynamic renderer ID.
The renderer ID.
The X coordinate.
The Y coordinate.
Finds a measurement by mouse position.
The X coordinate.
The Y coordinate.
Whether to find only highlighted measurements.
Whether to exclude dynamic elements in 2D.
Retrieves all measurements.
Returns the currently highlighted measurement.
The currently highlighted Measurement
object, or null
if none exists.
Retrieves all highlighted measurements.
An array of Measurement
objects that are currently highlighted.
Gets a measurement at a specified position.
The X coordinate.
The Y coordinate.
Gets a measurement by ID.
The measurement ID.
Gets the bounding box of measurements.
The IDs of the measurements.
Gets measurements by ID.
The measurement IDs.
Retrieves measurements in a specified region.
The clipping region.
Gets the total area of measurements in square millimeters.
The measurements to calculate area from.
Gets the total length of measurements in millimeters.
The measurements to calculate length from.
Gets the total number of points in measurements.
The measurements to calculate points from.
Highlights a measurement.
The measurement to highlight.
The command associated with the highlight.
Whether to dispatch a selection event.
Checks if over a point.
The measurement.
The X coordinate.
The Y coordinate.
Checks if over a segment.
The measurement.
The X coordinate.
The Y coordinate.
Mirrors highlighted measurements.
Whether to mirror along the X axis.
Whether to mirror along the Y axis.
The command associated with the mirror operation.
Mirrors measurements.
The X coordinate.
The Y coordinate.
Whether to mirror along the X axis.
Whether to mirror along the Y axis.
Reflects the ghost measurement from another measurement.
The measurement to reflect from.
Removes a highlighted measurement.
The measurement to remove.
Removes a measurement point at a specified position.
A promise that resolves to true
if the point was removed successfully, false
otherwise.
The x-coordinate of the point to remove.
The y-coordinate of the point to remove.
Sets the current measurement.
The measurement to set.
Sets the selected measurements.
The measurements to select.
Terminates the measurement.
Whether to close the measurement if it has length.
Whether to delete the measurement if it has no points.
Whether to keep the measurement highlighted.
Class representing the state of measurements.