angle_points

compas.geometry.angle_points(a, b, c, deg=False)[source]

Compute the smallest angle between the vectors defined by three points.

Parameters
Returns

float – The smallest angle in radians (in degrees if deg == True). The angle is always positive.

Notes

The vectors are defined in the following way

u=bav=ca

Z components may be provided, but are simply ignored.