Returns the distance between this point and p2 squared
Returns true if this point and the other have the same coordinates within GlobalConfig.precision error.
The other point to compare with.
Rotates this point around a pivotPoint by a certain number of degrees.
The point around which this point should rotate
The number of degrees that the point should rotate (a circle covers 360 degrees, negative values are ok)
Static
fromGenerated using TypeDoc
Represents a single point with x, y coordinates.