diff --git a/documentation/proposals/Proposal - 3.0 Additional math types - Angle.md b/documentation/proposals/Proposal - 3.0 Additional math types - Angle.md index 934649a16d..d6cdaf0ddb 100644 --- a/documentation/proposals/Proposal - 3.0 Additional math types - Angle.md +++ b/documentation/proposals/Proposal - 3.0 Additional math types - Angle.md @@ -43,6 +43,9 @@ public readonly struct Angle , ISubtractionOperators,Angle,Angle> , IParsable> , ISpanParsable> + , IUtf8SpanParsable> + , IFormattable + , IUtf8SpanFormattable where T : IFloatingPointIeee754 { @@ -50,11 +53,14 @@ public readonly struct Angle public Angle(T totalRadians) { } - + /// Angle in degrees in the range [0, 360]. public T Degrees { get; } + /// Total angle in degrees. public T TotalDegrees { get; } - public T TotalRdians { get; } - public T Milliradians { get; } + /// Angle in radians in range [π, -π]. + public T Radians { get; } + + public T Hours { get; } public T Minutes { get; } public T Seconds { get; } @@ -185,10 +191,7 @@ public static class Angle public static Angle FromDegrees(T degrees) where T : IFloatingPointIeee754 => default; - public static Angle FromGradians(T gradians) - where T : IFloatingPointIeee754 - => default; - public static Angle FromMilliradians(T milliradians) + public static Angle FromHours(T hours) where T : IFloatingPointIeee754 => default; public static Angle FromMinutes(T minutes) @@ -198,6 +201,10 @@ public static class Angle where T : IFloatingPointIeee754 => default; + public static Angle FromTimeSpan(TimeSpan timeSpan) + where T : IFloatingPointIeee754 + => default; + public static Angle Min(Angle left, Angle right) where T : IFloatingPointIeee754 => default;