Constructor for MeasurementsState.
The renderer instance.
Gets the command changed event.
Checks if measuring is in progress.
Gets the measurements updated event.
Gets the measurements deleted event.
Gets the measurements selected event.
Gets the measurements point push back event.
Gets the point just inserted status.
Sets the point just inserted status.
The status.
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 last moving point.
Gets the last moved pivot point.
Gets the movement by duplicate status.
Gets the aggregation mode.
Sets the aggregation mode.
The aggregation mode.
Gets the measurement system.
Sets the measurement system.
The measurement unit.
Gets the current command.
Gets the previous command.
Gets the ghost point visible status.
Sets the ghost point visible status.
The status.
Gets the last ID.
Gets the next ID.
Gets the current measurement.
Removes the measurements insert key callback.
Dispatches the measurements selected event.
Whether to dispatch the element selection event as well.
Dispatches the measurements updated event.
Dispatches the measurements updated event.
Dispatches the measurements point push back event.
Sets the snap mode enabled status.
The snap mode.
The enabled status.
Starts drawing an arc.
Clears the drawing arc mode.
Checks if the last point is a control point.
Checks if an arc can be drawn.
Refreshes the drawing arc mode.
Initializes the measurements state.
Destroys the measurements state.
Clears the ghost measurement.
Reflects the ghost measurement from another measurement.
The measurement to reflect from.
Updates the renderer.
Gets the bounding box of measurements.
The IDs of the measurements.
Gets the ghost segment point at a distance.
The distance in millimeters.
Fills the ghost segment points at a distance.
The distance in millimeters.
Draws the ghost segment extension at a distance.
The distance in millimeters.
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.
Checks if over a plane.
The X coordinate.
The Y coordinate.
Checks if a point can be edited.
Sets the current command.
The command.
Sets the highlighted command.
The command.
Checks if there are tagged measurements.
Checks if there are measurements.
Shows the Add Measurement dialog.
OptionaldisableOCRAndMeasure: booleanOptionalrenderer: BaseRendererOptionaldisableOCRAndMeasure: booleanOptionalrenderer: BaseRendererOptionaldisableOCRAndMeasure: booleanOptionalrenderer: BaseRendererOptionaldisableOCRAndMeasure: booleanOptionalrenderer: BaseRendererAdds a measurement.
The measurement type.
Whether the measurement is negative.
The measurement color.
The fill pattern.
Optionaloptions: TakeoffBase | MeasurementsOptionsAdds a measurement from data.
The measurement data.
Optionaloptions: TakeoffBase | MeasurementsOptionsAdds a tagged measurement from data.
The measurement data.
The measurement color.
Optionaloffset: SceneOffsetThe scene offset.
Optionaloptions: TakeoffBase | MeasurementsOptionsAdds a measurement from another measurement.
The measurement to add from.
Whether to clone the geometry.
Optionaloptions: TakeoffBase | MeasurementsOptionsClears all tagged measurements.
Removes a tagged measurement.
The measurement ID.
Gets the size of the measurement map.
Sets the selected measurements.
The measurements to select.
Clears the selected measurements.
Clears all measurements.
Clears the current measurement.
Clears the selection.
Sets the current measurement.
The measurement to set.
Gets a measurement at a specified position.
The X coordinate.
The Y coordinate.
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.
Retrieves the IDs of all highlighted measurements.
A promise that resolves to an array of Int64 IDs for the highlighted measurements.
Gets the total number of measurements.
Retrieves all measurements.
Retrieves all negative measurements.
OptionalgroupId: anyOptional group object to filter measurements.
An array of negative Measurement objects.
Retrieves all negative measurements.
OptionalgroupId: anyOptional group object to filter measurements.
An array of negative Measurement objects.
Retrieves measurements in a specified region.
The clipping region.
Gets the total number of points in measurements.
The measurements to calculate points from.
Gets the total length of measurements in millimeters.
The measurements to calculate length from.
Gets the total area of measurements in square millimeters.
The measurements to calculate area from.
Highlights a measurement.
The measurement to highlight.
The command associated with the highlight.
Whether to dispatch a selection event.
Adds a highlighted measurement.
The measurement to add.
Removes a highlighted measurement.
The measurement to remove.
Moves measurements to a new position.
The X coordinate.
The Y coordinate.
Duplicates highlighted measurements.
The command associated with the duplication.
Duplicates the highlighted measurement and moves it to a new position.
The x-coordinate of the new position.
The y-coordinate of the new position.
A promise that resolves to true if duplication was successful, false otherwise.
Removes a measurement point at a specified position.
The x-coordinate of the point to remove.
The y-coordinate of the point to remove.
A promise that resolves to true if the point was removed successfully, false otherwise.
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.
Inserts a measurement point.
The X coordinate.
The Y coordinate.
Whether the point is a control point.
Moves a measurement point.
The X coordinate.
The Y coordinate.
Whether the point was just inserted.
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.
Rotates a measurement.
The X coordinate.
The Y coordinate.
The degrees to rotate.
Rotates highlighted measurements.
The degrees to rotate.
The command associated with the rotation.
Deletes a measurement.
The measurement to delete.
Deletes highlighted measurements.
Whether to dispatch an update event.
Checks if measuring or starting.
Checks if measuring.
Checks if moving a measurement.
Checks if waiting for custom scale selection.
True if waiting for custom scale selection (for example in two click scale), false otherwise.
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.
Class representing the state of measurements.