Creates a point from its X and Y coordinates.
Calculates the Chebyshev distance
between p1 and p2.
Calculates the Euclidean distance
between p1 and p2.
Calculates the Manhattan distance
between p1 and p2.
Determines whether value is a Point.
Translates point by vector.
This modifies point. Use translated to create a new point.
Generated using TypeDoc
The origin is the point at 0, 0. It cannot be modified.