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: 11.1.8864.1045
Syntax
C#
public static double GetSignedAngleDiff(
	double angle1,
	double angle2
)

Parameters

angle1  Double
first angle in degrees
angle2  Double
second angle in degrees

Return Value

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