Adjust the Angle so that it reduced to an equivalent angle within a smaller range of values. Works in Degrees.
Methods for decimal, double and int Parameters. Also their are overloaded versions that allow whether you want the angle reduced to a postive angle or not.
Adjust the Angle so that it lies between -180 (exclusive) and 180 (inclusive) Works in Degrees.
public static decimal AdjustAngleDeg(decimal);
Adjust the Angle so that it lies between -180 (exclusive) and 180 (inclusive) if posAngle is False, or between 0 (inclusive) and 360 (exclusive) if posAngle is True. Works in Degrees.
public static decimal AdjustAngleDeg(decimal,bool);
Adjust the Angle so that it lies between -180 (exclusive) and 180 (inclusive) Works in Degrees.
public static decimal AdjustAngleDeg(double);
Adjust the Angle so that it lies between -180 (exclusive) and 180 (inclusive) if posAngle is False, or between 0 (inclusive) and 360 (exclusive) if posAngle is True. Works in Degrees.
public static decimal AdjustAngleDeg(double,bool);
Adjust the Angle so that it lies between -180 (exclusive) and 180 (inclusive) Works in Degrees.
public static decimal AdjustAngleDeg(int);
Adjust the Angle so that it lies between -180 (exclusive) and 180 (inclusive) if posAngle is False, or between 0 (inclusive) and 360 (exclusive) if posAngle is True. Works in Degrees.
public static decimal AdjustAngleDeg(int,bool);
DecimalOps Class | Esb.Math Namespace