Point4
-
class
Point4
()
Constructors
Constructors
-
Point4.
constructor
(x, y, z, w) Arguments: - x (
number()
) – None - y (
number()
) – None - z (
number()
) – None - w (
number()
) – None
Return type: Point4
- x (
Methods
equals
equalsWithTolerance
-
Point4.
equalsWithTolerance
(other, tolerance) Arguments: - other (
Point4()
) – Point to compare with. - tolerance (
number()
) – Tolerance to be used in the comparison.
Compares this point with another using a tolerance.
Returns: True if the values of this point equal those of the other. Return type: boolean - other (