/// <summary>Get angle in degrees, limited to the range [0, 360).</summary> public static double InDegrees(this Angle angle) { return(CanonicalModulo.Compute(angle.DecimalDegrees, 360.0)); }
/// <summary>Get angle in radians, limited to the range [0, 2*PI).</summary> public static double InRadians(this Angle angle) { return(CanonicalModulo.Compute(angle.ToRadians().Value, 2 * Math.PI)); }
/// <summary>Get angle in degrees, limited to the range [0, 360).</summary> public static double InDegrees(this Azimuth az) { return(CanonicalModulo.Compute(az.DecimalDegrees, 360.0)); }
/// <summary>Get angle in radians, limited to the range [0, 2*PI).</summary> public static double InRadians(this Azimuth az) { return(CanonicalModulo.Compute(az.ToRadians().Value, 2 * Math.PI)); }
/// <summary>Get angle in radians, limited to the range [0, 2*PI).</summary> public static double InRadians(this Longitude lon) { return(CanonicalModulo.Compute(lon.ToRadians().Value, 2 * Math.PI)); }
/// <summary>Get angle in degrees, limited to the range [0, 360).</summary> public static double InDegrees(this Longitude lon) { return(CanonicalModulo.Compute(lon.DecimalDegrees, 360.0)); }
/// <summary>Get angle in degrees, limited to the range [0, 360).</summary> public static double InDegrees(this Latitude lat) { return(CanonicalModulo.Compute(lat.DecimalDegrees, 360.0)); }
/// <summary>Get angle in radians, limited to the range [0, 2*PI).</summary> public static double InRadians(this Elevation el) { return(CanonicalModulo.Compute(el.ToRadians().Value, 2 * Math.PI)); }
/// <summary>Get angle in degrees, limited to the range [0, 360).</summary> public static double InDegrees(this Elevation el) { return(CanonicalModulo.Compute(el.DecimalDegrees, 360.0)); }