An x value for this point. Defaults to 0.
A y value for this point. Defaults to 0.
Returns a new Point
which has the same x and y values.
Returns the distance between this point and the other point.
The other point.
Returns the square distance between this point and the other point.
The other point.
Generated using TypeDoc
Creates a new point at the origin or at the provided, x, y.