.. role:: clio-static
   :class: clio-flag clio-flag-static


######
Point4
######

.. js:class:: common.Point4

   
   Index
   =====
   
   .. rubric:: Constructors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~common.Point4.constructor`
   
   .. rubric:: Properties
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:data:`~common.Point4.w`
   * :js:data:`~common.Point4.x`
   * :js:data:`~common.Point4.y`
   * :js:data:`~common.Point4.z`
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~static common.Point4.zero`
   * :js:meth:`~common.Point4.assign`
   * :js:meth:`~common.Point4.equals`
   * :js:meth:`~common.Point4.equalsWithTolerance`
   * :js:meth:`~common.Point4.scale`
   * :js:meth:`~common.Point4.set`
   
   



.. rst-class:: kind-group kind-constructors

.. rubric:: Constructors
   :class: kind-group-title


.. js:method:: common.Point4.constructor

      .. rst-class:: sig-pretty-signature
      
         | Point4(**x**\ : *number*\ , **y**\ : *number*\ , **z**\ : *number*\ , **w**\ : *number*\ ): :js:class:`Point4 <common.Point4>`
      
      **Parameters**
      
      
         **x**\ : *number*
      
         **y**\ : *number*
      
         **z**\ : *number*
      
         **w**\ : *number*
      
      
      **Returns**\ : :js:class:`Point4 <common.Point4>`
      



.. rst-class:: kind-group kind-properties

.. rubric:: Properties
   :class: kind-group-title


.. js:data:: common.Point4.w

      .. rst-class:: sig-pretty-signature
      
         | w: *number*
      



.. js:data:: common.Point4.x

      .. rst-class:: sig-pretty-signature
      
         | x: *number*
      



.. js:data:: common.Point4.y

      .. rst-class:: sig-pretty-signature
      
         | y: *number*
      



.. js:data:: common.Point4.z

      .. rst-class:: sig-pretty-signature
      
         | z: *number*
      



.. rst-class:: kind-group kind-methods

.. rubric:: Methods
   :class: kind-group-title


.. js:method:: static common.Point4.zero

      .. rst-class:: clio-flags
      
         :clio-static:`static`
      
      .. rst-class:: sig-pretty-signature
      
         | zero(): :js:class:`Point4 <common.Point4>`
      
      **Returns**\ : :js:class:`Point4 <common.Point4>`
      



.. js:method:: common.Point4.assign

      .. rst-class:: sig-pretty-signature
      
         | assign(**point**\ : :js:class:`IPoint4 <common.IPoint4>`\ ): *void*
      
      **Parameters**
      
      
         **point**\ : :js:class:`IPoint4 <common.IPoint4>`
      
      
      **Returns**\ : *void*
      



.. js:method:: common.Point4.equals

      .. rst-class:: sig-pretty-signature
      
         | equals(**other**\ : :js:class:`IPoint4 <common.IPoint4>`\ ): *boolean*
      
      Strictly compares this point with another.
      
      **Parameters**
      
      
         **other**\ : :js:class:`IPoint4 <common.IPoint4>`
      
      
            Point to compare with.
      
      
      
      **Returns**\ : *boolean*
      
      
         True if the values of this point equal those of the other.
      
      



.. js:method:: common.Point4.equalsWithTolerance

      .. rst-class:: sig-pretty-signature
      
         | equalsWithTolerance(**other**\ : :js:class:`IPoint4 <common.IPoint4>`\ , **tolerance**\ : *number*\ ): *boolean*
      
      Compares this point with another using a tolerance.
      
      **Parameters**
      
      
         **other**\ : :js:class:`IPoint4 <common.IPoint4>`
      
      
            Point to compare with.
      
      
         **tolerance**\ : *number*
      
      
            Tolerance to be used in the comparison.
      
      
      
      **Returns**\ : *boolean*
      
      
         True if the values of this point equal those of the other.
      
      



.. js:method:: common.Point4.scale

      .. rst-class:: sig-pretty-signature
      
         | scale(**k**\ : *number*\ ): *this*
      
      **Parameters**
      
      
         **k**\ : *number*
      
      
      **Returns**\ : *this*
      



.. js:method:: common.Point4.set

      .. rst-class:: sig-pretty-signature
      
         | set(**x**\ : *number*\ , **y**\ : *number*\ , **z**\ : *number*\ , **w**\ : *number*\ ): *void*
      
      **Parameters**
      
      
         **x**\ : *number*
      
         **y**\ : *number*
      
         **z**\ : *number*
      
         **w**\ : *number*
      
      
      **Returns**\ : *void*
      




