Click or drag to resize

UtilTanDegrees Method (Double)

Returns the tangent of the specified (in degrees) angle.

Namespace:  Demo3D.Common
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public static double TanDegrees(
	double angle
)

Parameters

angle
Type: SystemDouble
Angle in Degrees.

Return Value

Type: Double
The tangent of the angle.
Remarks
This method avoids problems like Math.Tan(Util.Radians(45)) not returning exactly 1.
See Also