Click or drag to resize
AB4D logo

MathUtilsGetSignedAngleDiff Method

Returned the smallest difference between two angles in degrees (difference is positive if angle1 is bigger then angle2)

Namespace:  Ab3d.Utilities
Assembly:  Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 9.5.7760.1045
Syntax
C#
public static double GetSignedAngleDiff(
	double angle1,
	double angle2
)

Parameters

angle1
Type: SystemDouble
first angle in degrees
angle2
Type: SystemDouble
second angle in degrees

Return Value

Type: Double
the smallest difference between two angles in degrees (difference is positive if angle1 is bigger then angle2)
See Also