Companion
Properties
Conversion factor for degrees to milliradians (NATO).
Conversion factor for degrees to milliradians (Warsaw Pact).
Conversion factor for degrees to minutes.
Conversion factor for degrees to minute of angle (MOA).
Conversion factor for degrees to milliradians.
Conversion factor for degrees to radians.
Conversion factor for degrees to seconds.
Conversion factor for degrees to milliradians (Sweden).
Conversion factor for milliradians (NATO) to degrees.
Conversion factor for milliradians (Warsaw Pact) to degrees.
Conversion factor for minutes to degrees.
Conversion factor for minute of angle (MOA) to degrees.
Conversion factor for milliradians to degrees.
Conversion factor for radians to degrees.
Conversion factor for seconds to degrees.
Conversion factor for milliradians (Sweden) to degrees.
Functions
Restricts an angle to the range -180, +180 degrees, clamping angles outside the range. Angles less than -180 are returned as -180, and angles greater than +180 are returned as +180. Angles within the range are returned unmodified.
Restricts an angle to the range 0, 360 degrees, clamping angles outside the range. Angles less than 0 are returned as 0, and angles greater than 360 are returned as 360. Angles within the range are returned unmodified.
Restricts an angle to the range -90, +90 degrees, clamping angles outside the range. Angles less than -90 are returned as -90, and angles greater than +90 are returned as +90. Angles within the range are returned unmodified.
Restricts an angle to the range -180, +180 degrees, clamping angles outside the range. Angles less than -180 are returned as 0, and angles greater than +180 are returned as +180. Angles within the range are returned unmodified.
Obtains an angle from a specified number of degrees.
Obtains an angle from a specified number of mil NATO.
Obtains an angle from a specified number of minutes.
Obtains an angle from a specified number of radians.
Obtains an angle from a specified number of seconds.
Obtains an angle from a specified number of Streck.
Computes the linear interpolation of two angles in the range -180, +180 degrees according to a specified fractional amount. The fractional amount is interpreted as a relative proportion of the two angles, where 0.0 indicates the first angle, 0.5 indicates an angle half way between the two angles, and 1.0 indicates the second angle.
The result of this method is undefined if the amount is outside the range 0, 1.
Computes the linear interpolation of two angles in the range 0, 360 degrees according to a specified fractional amount. The fractional amount is interpreted as a relative proportion of the two angles, where 0.0 indicates the first angle, 0.5 indicates an angle half way between the two angles, and 1.0 indicates the second angle.
The result of this method is undefined if the amount is outside the range 0, 1.
Indicates whether a specified value is within the normal range of latitude, -90, 90.
Indicates whether a specified value is within the normal range of longitude, -180, 180.
Restricts an angle to the range -180, +180 degrees, wrapping angles outside the range. Wrapping takes place as though traversing the edge of a unit circle; angles less than -180 wrap back to +180, while angles greater than +180 wrap back to -180.
Restricts an angle to the range 0, 360 degrees, wrapping angles outside the range. Wrapping takes place as though traversing the edge of a unit circle; angles less than 0 wrap back to 360, while angles greater than 360 wrap back to 0.
Restricts an angle to the range -90, +90 degrees, wrapping angles outside the range. Wrapping takes place along a line of constant longitude which may pass through the poles. In which case, 135 degrees normalizes to 45 degrees; 181 degrees normalizes to -1 degree.
Restricts an angle to the range -180, +180 degrees, wrapping angles outside the range. Wrapping takes place as though traversing a line of constant latitude which may pass through the antimeridian; angles less than -180 wrap back to +180, while angles greater than +180 wrap back to -180.