code: public double dot(Vector v)
  	{
  		return (x * v.x) + (y * v.y) + (z * v.z);
  	}
docs: Calculates the dot product of this {@link Vector} with a given <code>Vector</code>.
  
  @param v the vector
  @return the dot product