/**
  * test if the two vectors are collinear
  *
  * @param v1 : first vector to be checked
  * @param v2 : second vector to be checked
  * @return true if the vectors are colinear
  */
 public static final boolean checkCollinear(Vector3D v1, Vector3D v2) {
   return Vector3D.crossProduct(v1, v2).getLengthSq() < EPSILON;
 }