mathnet / mathnet-spatial

Math.NET Spatial
http://spatial.mathdotnet.com
MIT License
376 stars 132 forks source link

Convenience members for Angle #146

Closed Jones-Adam closed 6 years ago

Jones-Adam commented 6 years ago

Adds the following: Sin/Cos/Tan/Normalize methods to Angle static angles for common angles 360, 180, 90

Explicit conversion from double to angle - allows (Angle)0.25 in the place of Angle.FromRadians(0.25). This follows the logic that a double may be an angle but only if the programmer is sure it is.

Jones-Adam commented 6 years ago

Seems the consensus is no angle changes, its just perfect as it is