The dot product is automatically calculated.
It gives information on the relative orientation of the vectors A and B. A negative dot product means that A and B point away from each other. a positive dot product means they point in the same direction. In case of orthogonality, the dot product is equal to zero.