Function dotProduct

Calculate dot product of two PolarCoords.

Eg, power is the dot product of force and velocity

Dot products are also useful for comparing similarity of angle between two unit PolarCoords.

  • Parameters

    Returns number