Static
X_X Axis
Static
Y_Y Axis
Static
Z_Z Axis
Returns the vector with nonnegative components.
Compares v and ov lexicographically and returns:
-1 if v < ov
0 if v == ov
+1 if v > ov
This method is based on C++'s std::lexicographical_compare. Two entities are compared element by element with the given operator. The first mismatch defines which is less (or greater) than the other. If both have equivalent values they are lexicographically equal.
Returns whether this vector is of approximately unit length.
Returns the Axis that represents the largest component in this vector.
Returns the square of the norm.
Returns a unit vector in the same direction as v.
Returns a unit vector that is orthogonal to v. ortho(-v) = -ortho(v) for all v.
Returns the Axis that represents the smallest component in this vector.
Generates a human readable string.
Vector represents a point in ℝ³