Returns true if the distance between the given two point is less than eps.
Calculates a signed volume of a tetrahedron which is composed of the given points.
Calculates an unsigned area of a triangle which is composed of the given points.
Calclates cross product of two vectors in 2D. Returned value is |v||v2| sin a
Calclates cross product of two vectors in 3D.
Calculates dot product.
Returns length of the given vector.
Returns squared length of the given vector.
Get a vector whose each element is maximum value of the same indexed element of two vectors.
Get a vector whose each element is minimum value of the same indexed element of two vectors.
Returns a linear interpolated vector
Returns normalized orthognal basis which maximize the dispersion of the given points
Returns a vector whose length 1 from target vector.
Returns a vector which is orthognal to the given vector.
Returns a vector which is orthognal to the given vector.
Reduces an array of vector by the given function.
Returns a vector whose length 1 from target vector. When the length is 0, returns zero vector.
Vector type