MoreMathDegrees Field |
Namespace: Meta.Numerics
This conversion factor makes it easier to compute trigonometric functions if arguments are given in degrees. Since trigonometric methods such as Sin(Double) and Cos(Double) take arguments in dimensionless radians, you must convert a degree input to radians before passing it into one of these functions. This field makes it easy to do so via a simple and visually mnemonic multiplication. If x is in degrees and you wish to take its sine, just write: Math.Sin(x * MoreMath.Degrees).