UtilCosDegrees(Int32) Method |
Returns the cosine of the specified (in degrees) angle.
Namespace: Demo3D.CommonAssembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntaxpublic static double CosDegrees(
int angle
)
Parameters
- angle Int32
- Angle in Degrees.
Return Value
DoubleThe cosine of the angle.
Remarks
This method avoids problems like Math.Cos(Util.Radians(90)) not returning exactly 0.
See Also