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