public static boolean equalsDouble(ReadOnlyVector3 vec0,ReadOnlyVector3 vec1){
  if (vec0 == vec1)   return (true);
  if (Math.abs(vec0.getX() - vec1.getX()) > epsilonD)   return (false);
  if (Math.abs(vec0.getY() - vec1.getY()) > epsilonD)   return (false);
  if (Math.abs(vec0.getZ() - vec1.getZ()) > epsilonD)   return (false);
  return (true);
}

public static boolean equalsDouble ( ReadOnlyVector3 vec0 , ReadOnlyVector3 vec1 ) { if ( vec0 == vec1 ) return ( true ) ; if ( Math . abs ( vec0 . getX ( ) - vec1 . getX ( ) ) > epsilonD ) return ( false ) ; if ( Math . abs ( vec0 . getY ( ) - vec1 . getY ( ) ) > epsilonD ) return ( false ) ; if ( Math . abs ( vec0 . getZ ( ) - vec1 . getZ ( ) ) > epsilonD ) return ( false ) ; return ( true ) ; }
determine if two double vectors are within an epsilon .
