Vector4d.distanceSquared
- double distanceSquared(Vector4d v)
- double distanceSquared(double x, double y, double z, double w)
- double distanceSquared(double x1, double y1, double z1, double w1, double x2, double y2, double z2, double w2)
struct Vector4d
static
double
distanceSquared
vector_4d Vector4d
constructorsfunctionsvariables
Return the squared distance between <code>(x1, y1, z1, w1)</code> and <code>(x2, y2, z2, w2)</code>.
@param x1 the x component of the first vector @param y1 the y component of the first vector @param z1 the z component of the first vector @param w1 the w component of the first vector @param x2 the x component of the second vector @param y2 the y component of the second vector @param z2 the z component of the second vector @param w2 the w component of the second vector @return the euclidean distance squared