myimagelib.pivLib.tangent_unit

myimagelib.pivLib.tangent_unit(point, center)

Compute tangent unit vector based on point coords and center coords.

Parameters
  • point – coordinates of the point of interest, 2-tuple

  • center – coordinates of circle center, 2-tuple

Returns

tangent unit vector