Gets the highlighted region
Add a new clipping region.
null if the rectangle overlaps with another region or the newly added region
Remove a region by its BimCTClippingRegion reference.
Remove a region by its index in the _regions array.
Get all regions.
Clear all regions.
Clears the global scale line.
Redraws the clipping regions.
Checks if a Measurement is contained within a region
Destroys the clipping region manager by clearing all regions, removing the canvas from the DOM, and releasing resources.
Resizes the canvas to the specified dimensions and redraws all clipping regions.
The new width of the canvas in pixels.
The new height of the canvas in pixels.
Highlights the region and brings it forward
The x-coordinate of the point.
The y-coordinate of the point.
Brings the specified region to the front by drawing it last.
The region to bring to the front.
Gets the clipping region of a measurement.
The measurement.
The clipping region or null if not found.
Check if a point is inside any clipping region.
The x-coordinate of the point.
The y-coordinate of the point.
true if no region exist or if this point lies inside a region otherwise false
Get the clipping region that is behind a point
The x-coordinate of the point.
The y-coordinate of the point.
The BimCTClippingRegion containing the point, or null if no region contains the point.
Sets the state of the clipping regions.
The state to set.
Gets the current state of the clipping regions.
The current state of the clipping regions.
Class managing clipping regions.