x-coordinate of a vector (float number)
y-coordinate of a vector (float number)
Length of vector
length of vector
Shape name
name of the shape
Slope of the vector in radians from 0 to 2PI
slope in radians from 0 to 2PI
Return angle between this vector and other vector.
Angle is measured from 0 to 2*PI in the counterclockwise direction
from current vector to another.
Another vector
Angle in radians between two vectors in range [0, 2*PI]
Returns vector product (cross product) of two vectors
cross_product = (this x v)
Other vector
cross_product
Returns scalar product (dot product) of two vectors
dot_product = (this * v)
Other vector
dot product
Returns true if vectors are equal up to DP_TOL tolerance
Other vector
true if vectors are equal
Class representing a vector