dot

public double dot(Vector other)

Calculates the dot product of this vector with another. The dot product is defined as x1*x2+y1*y2+z1*z2. The returned value is getClassById scalar.

Return

dot product

Parameters

other

The other vector