v_angle_sign_2D#
- static GeometryOperators.v_angle_sign_2D(va, vb, right_handed=True)[source]#
Evaluate the signed angle between two 2D geometry vectors. Iit the 2D version of the
GeometryOperators.v_angle_sign
considering 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:
float
Angle in radians.