.. role:: clio-inherited
   :class: clio-flag clio-flag-inherited


############################
MeasureLineLineAngleOperator
############################

.. js: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.
   
   
   Index
   =====
   
   .. rubric:: Constructors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~Operators.Measure.MeasureLineLineAngleOperator.constructor`
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~Operators.Measure.MeasureLineLineAngleOperator.addMapping`
   * :js:meth:`~Operators.Measure.MeasureLineLineAngleOperator.clearMapping`
   * :js:meth:`~Operators.Measure.MeasureLineLineAngleOperator.onActivate`
   * :js:meth:`~Operators.Measure.MeasureLineLineAngleOperator.onKeyDown`
   * :js:meth:`~Operators.Measure.MeasureLineLineAngleOperator.setMapping`
   
   




Constructors
============

.. js:method:: Operators.Measure.MeasureLineLineAngleOperator.constructor

   .. rst-class:: sig-pretty-signature
   
      | MeasureLineLineAngleOperator(**viewer**\ : :js:class:`~IWebViewer`\ , **view**\ : :js:class:`~IView`\ , **measureManager**\ : :js:class:`~MeasureManager`\ ): :js:class:`MeasureLineLineAngleOperator <Operators.Measure.MeasureLineLineAngleOperator>`
   
   **Parameters**
   
      **viewer**\ : :js:class:`~IWebViewer`
   
      **view**\ : :js:class:`~IView`
   
      **measureManager**\ : :js:class:`~MeasureManager`
   
   
   **Returns**\ : :js:class:`MeasureLineLineAngleOperator <Operators.Measure.MeasureLineLineAngleOperator>`
   





Methods
=======

.. js:method:: Operators.Measure.MeasureLineLineAngleOperator.addMapping

   .. rst-class:: clio-flags
   
      :clio-inherited:`inherited`
   
   .. rst-class:: sig-pretty-signature
   
      | addMapping(**button**\ : :js:data:`~Button`\ , **modifier**\ : :js:data:`~KeyModifiers`\ ?): *void*
   
   Adds 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**\ : :js:data:`~Button`
   
      **modifier**\ : :js:data:`~KeyModifiers` = KeyModifiers.None
   
   
   **Returns**\ : *void*
   



.. js:method:: Operators.Measure.MeasureLineLineAngleOperator.clearMapping

   .. rst-class:: clio-flags
   
      :clio-inherited:`inherited`
   
   .. rst-class:: sig-pretty-signature
   
      | clearMapping(): *void*
   
   Clears any button and key modifier mappings for the operator.
   
   **Returns**\ : *void*
   



.. js:method:: Operators.Measure.MeasureLineLineAngleOperator.onActivate

   .. rst-class:: sig-pretty-signature
   
      | onActivate(): *void*
   
   **Returns**\ : *void*
   



.. js:method:: Operators.Measure.MeasureLineLineAngleOperator.onKeyDown

   .. rst-class:: sig-pretty-signature
   
      | onKeyDown(**event**\ : :js:class:`KeyInputEvent <Event.KeyInputEvent>`\ ): *void*
   
   **Parameters**
   
      **event**\ : :js:class:`KeyInputEvent <Event.KeyInputEvent>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Operators.Measure.MeasureLineLineAngleOperator.setMapping

   .. rst-class:: clio-flags
   
      :clio-inherited:`inherited`
   
   .. rst-class:: sig-pretty-signature
   
      | setMapping(**button**\ : :js:data:`~Button`\ , **modifier**\ : :js:data:`~KeyModifiers`\ ?): *void*
   
   Sets the button and key modifier mapping for the operator.
   
   **Parameters**
   
      **button**\ : :js:data:`~Button`
   
      **modifier**\ : :js:data:`~KeyModifiers` = KeyModifiers.None
   
   
   **Returns**\ : *void*
   





