Measure class

The base class of all Modelo.View.Tool.MeasureXXX.

Signature:

export default abstract class Measure extends Tool 

Extends: Tool

Constructors

ConstructorDescription
(constructor)(name, viewer)Constructs a new instance of the Measure class

Methods

MethodDescription
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