Clamps this point to the range [min, max].
Clamps the maximum value of this point to the max parameter.
Clamps the minimum value of this point to the min parameter.
Computes the distance between this point and point p.
Computes the L-1 (Manhattan) distance between this point and point p. The L-1 distance is equal to: abs(x1-x2) + abs(y1-y2).
Computes the L-infinite distance between this point and point p1. The L-infinite distance is equal to MAX[abs(x1-x2), abs(y1-y2)].
Computes the square of the distance between this point and point p.
Returns true if the L-infinite distance between this point and point p is less than or equal to the epsilon parameter, otherwise returns false. The L-infinite distance is equal to MAX[abs(x1-x2), abs(y1-y2), . . . ].
The radian between this point and X axis.
计算点与X轴的夹角。
Move point toward along the radian.
Computes the distance between p1 and p2.
Computes the square of the distance between p1 and p2.
The radian between the line(p1, origin) or the line(p1, p2) and X-axis.
计算点到原点的连线与X轴的夹角的弧度。
2D Point in Cartesian coordinate.