Sets each component of this tuple to its absolute value.
Returns the angle in radians between this vector and an vector or X-axis. The return value is constrained to the range [0,PI].
Computes the dot product of this vector and vector v.
Returns left normal vector. 返回的左法向量。
Returns right normal vector. 返回的右法向量。
Returns the length of this vector.
Returns the squared length of this vector.
Negates this vector.
Sets the 1 length vector of this vector.
设置成长度为1的单位向量。
Judge this vector is parallel to vector v.
是否平行于向量v。
Returns the radians of this vector.
Judge this vector is perpendicular to vector v.
是否垂直于向量v。
The point p on which side of an vector(p1->p2). 判断点在直线的哪一边
-1 is LEFT; 1 is RIGHT; 0 is COLLINEAR;
2D Vector