Click or drag to resize

UtilSinDegrees(Double) Method

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

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

Parameters

angle  Double
Angle in Degrees.

Return Value

Double
The sine of the angle.
Remarks
This method avoids problems like Math.Sin(Util.Radians(180)) not returning exactly 0.
See Also