MeasureLineLineAngleOperator
-
class
Operators.Measure.MeasureLineLineAngleOperator() This operator allows you to measure the angle between two lines. The measured angle can be between 0 - 180 degrees. Click to add points to create the lines. A cursor will show where the next point will be placed. The operator will perform vertex snapping by default. Holding down the alt key will disable this feature. The first point placed is the common point between the lines. The second and third points placed create two lines using the first point. After the third point has been placed, the measurement will be finalized, and the angle between the two lines will be displayed. If a measurement is currently being created, pressing the Escape key will discard it, otherwise the last created measurement will be discarded.
Constructors
-
Operators.Measure.MeasureLineLineAngleOperator.constructor() - MeasureLineLineAngleOperator(viewer:
IWebViewer, view:IView, measureManager:MeasureManager):MeasureLineLineAngleOperatorParameters
Returns:
MeasureLineLineAngleOperator
Methods
-
Operators.Measure.MeasureLineLineAngleOperator.addMapping() inherited
addMapping(button:Button, modifier:KeyModifiers?): voidAdds a button and key modifier mapping for the operator. If no mapping is provided, all combinations are considered valid. All mappings require a mouse button, but a key modifier is optional.
Parameters
button:
Buttonmodifier:
KeyModifiers= KeyModifiers.NoneReturns: void
-
Operators.Measure.MeasureLineLineAngleOperator.clearMapping() inherited
clearMapping(): voidClears any button and key modifier mappings for the operator.
Returns: void
-
Operators.Measure.MeasureLineLineAngleOperator.onActivate() - onActivate(): void
Returns: void
-
Operators.Measure.MeasureLineLineAngleOperator.onKeyDown() - onKeyDown(event:
KeyInputEvent): voidParameters
event:KeyInputEventReturns: void
-
Operators.Measure.MeasureLineLineAngleOperator.setMapping() inherited
setMapping(button:Button, modifier:KeyModifiers?): voidSets the button and key modifier mapping for the operator.
Parameters
button:
Buttonmodifier:
KeyModifiers= KeyModifiers.NoneReturns: void