Creates a new point at the origin or at the provided, x, y.
An x value for this point. Defaults to 0.
A y value for this point. Defaults to 0.
The X value of this point.
The Y value of this point.
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
A 2d point in space.