v_angle_sign_2D#
- static GeometryOperators.v_angle_sign_2D(va: list, vb: list, right_handed: bool = True) float#
Evaluate the signed angle between two 2D geometry vectors.
It is the 2D version of the
GeometryOperators.v_angle_signconsidering vn = [0,0,1]. In case of opposite vectors, it returns an angle equal to 180deg (always positive).- Parameters:
- va
List List of
[x, y]coordinates for the first vector.- vb
List List of
[x, y]coordinates for the second vector.- right_handedbool
Whether to consider the right-handed rotation from Va to Vb. The default is
True. WhenFalse, left-hand rotation from Va to Vb is considered.
- va
- Returns:
floatAngle in radians.