|
CameraUtilsNormalizeAngleTo180 Method |
Returns an angle that is normalized so that it is always in range from -180 to 180 degrees.
For example 270 is converted into -90; -200 is converted into 160.
To get an angle in range from 0 to 360, use the
NormalizeAngleTo360(Double) method.
Namespace: Ab3d.UtilitiesAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static double NormalizeAngleTo180(
double angleInDegrees
)
Parameters
- angleInDegrees Double
- angle in degrees
Return Value
Doublenormalized angle in interval between 0 and 360 degrees
See Also