A used to measure the angles on the model surface.
Signature:
export default class MeasureAngle extends Measure
Extends: Measure
Notice that we can not enable multiple measure tools at the same time. Before a new tool being enabled, the old tool must be disabled first.
Moreover, the measurement tools require mouse input and mouse input should be added to the viewer before the tool.
var ruler = new Modelo.View.Tool.MeasureAngle(viewer);
viewer.addTool(ruler);
Constructor | Description |
---|---|
(constructor)(viewer) | Constructs a new instance of the MeasureAngle class |
Method | Description |
---|---|
getAngle() | Get the current measured angle in radians. |
isRadians() | Is the current measurement unit radians now? |
useRadians(enabled) | Choose to use radians or degrees. |