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


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

.. js:class:: Point4

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




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

.. js:method:: Point4.constructor

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





Properties
==========

.. js:data:: Point4.w

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



.. js:data:: Point4.x

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



.. js:data:: Point4.y

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



.. js:data:: Point4.z

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





Methods
=======

.. js:method:: Point4.assign

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



.. js:method:: Point4.equals

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



.. js:method:: Point4.equalsWithTolerance

   .. rst-class:: sig-pretty-signature
   
      | equalsWithTolerance(**other**\ : :js:class:`~IPoint4`\ , **tolerance**\ : *number*\ ): *boolean*
   
   Compares this point with another using a tolerance.
   
   **Parameters**
   
      **other**\ : :js:class:`~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:: Point4.scale

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



.. js:method:: 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*
   



.. js:method:: static Point4.zero

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





