The base class of all Modelo.View.Tool.MeasureXXX.
Signature:
export default abstract class Measure extends Tool Extends: Tool
| Constructor | Description |
|---|---|
| (constructor)(name, viewer) | Constructs a new instance of the Measure class |
| Method | Description |
|---|---|
| destroy() | Delete all resources in the measure tool |
| getUnit() | Get the length unit |
| onSceneChanged() | |
| setLineColor(color) | Set the line color of the measure tool. |
| setSnappingEnabled(enabled) | Enable/Disable snapping. |
| setUnit(unit) | Set the length unit |