geometry_analysis.calculate_angle

geometry_analysis.calculate_angle(rA, rB, rC, degrees=False)

Calculate angle between points A, B, and C

Parameters
  • rA (numpy array) – The x, y, z coordinates of point A

  • rB (numpy array) – The x, y, z coordinates of point B

  • degrees (bool, optional) – Return the calculated angle in degrees.

Returns

angle – The distance between points A and B.

Return type

float