.. role:: ts-api-decorator

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

.. container:: ts-api-section

   .. js:class:: Point4



.. container:: api-index-section

   .. rubric:: Constructors

   .. rst-class:: api-index-list-item api-kind-constructor api-parent-kind-class

   * :js:meth:`~Point4.constructor`



.. container:: api-index-section

   .. rubric:: Properties

   .. rst-class:: api-index-list-item api-kind-property api-parent-kind-class

   * :js:attr:`~Point4.w`
   * :js:attr:`~Point4.x`
   * :js:attr:`~Point4.y`
   * :js:attr:`~Point4.z`



.. container:: api-index-section

   .. rubric:: Methods

   .. rst-class:: api-index-list-item api-kind-method api-parent-kind-class

   * :js:meth:`~Point4.assign`
   * :js:meth:`~Point4.equals`
   * :js:meth:`~Point4.equalsWithTolerance`
   * :js:meth:`~Point4.scale`
   * :js:meth:`~Point4.set`
   * :js:meth:`~Point4.zero`





------------

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

.. container:: ts-api-section

   .. js:function:: Point4.constructor( x, y, z, w)

      :param x: None
      :type x: number
      :param y: None
      :type y: number
      :param z: None
      :type z: number
      :param w: None
      :type w: number


      :rtype: Point4



Properties
==========

.. container:: ts-api-section

   .. js:attribute:: Point4.w

      :type: number





.. container:: ts-api-section

   .. js:attribute:: Point4.x

      :type: number





.. container:: ts-api-section

   .. js:attribute:: Point4.y

      :type: number





.. container:: ts-api-section

   .. js:attribute:: Point4.z

      :type: number





Methods
=======

.. rst-class:: ts-api-section

assign
------

.. js:method:: Point4.assign( point)

   :param point: None
   :type point: Point4


   :rtype: void

.. rst-class:: ts-api-section

equals
------

.. js:method:: Point4.equals( other)

   :param other: Point to compare with.
   :type other: Point4


   Strictly compares this point with another.

   :returns: True if the values of this point equal those of the other.


   :rtype: boolean

.. rst-class:: ts-api-section

equalsWithTolerance
-------------------

.. js:method:: Point4.equalsWithTolerance( other, tolerance)

   :param other: Point to compare with.
   :type other: Point4
   :param tolerance: Tolerance to be used in the comparison.
   :type tolerance: number


   Compares this point with another using a tolerance.

   :returns: True if the values of this point equal those of the other.


   :rtype: boolean

.. rst-class:: ts-api-section

scale
-----

.. js:method:: Point4.scale( k)

   :param k: None
   :type k: number


   :rtype: this

.. rst-class:: ts-api-section

set
---

.. js:method:: Point4.set( x, y, z, w)

   :param x: None
   :type x: number
   :param y: None
   :type y: number
   :param z: None
   :type z: number
   :param w: None
   :type w: number


   :rtype: void

.. rst-class:: ts-api-section

:ts-api-decorator:`static` zero
-------------------------------

.. js:method:: Point4.zero()



   :rtype: Point4

