Computes the dot product of this and the given 3D vector.
double dot(Vector3 v ) { return ( x * v.x ) + ( y * v.y ) + ( z * v.z ); }