UtilTanDegrees(Int32) Method |
Returns the tangent of the specified (in degrees) angle.
Namespace: Demo3D.CommonAssembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntaxpublic static double TanDegrees(
int angle
)
Parameters
- angle Int32
- Angle in Degrees.
Return Value
DoubleThe tangent of the angle.
Remarks
This method avoids problems like Math.Tan(Util.Radians(45)) not returning exactly 1.
See Also