Microsoft DirectX 9.0 SDK Update (October 2004)

Geometry.RadianToDegree Method

Language:

Note: This documentation is preliminary and is subject to change.

Converts radians to degrees.

Definition

Visual Basic .NET Public Shared Function RadianToDegree( _
    ByVal radian As Single _
) As Single
C# public static float RadianToDegree(
    float radian
);
Managed C++ public: static float RadianToDegree(
    float radian
);
JScript .NET public static function RadianToDegree(
    radian : float
) : float;

Parameters

radian System.Single. Value, in radians, to convert to degrees.

Return Value

System.Single . Converted value in degrees.

Remarks

This method uses the following value for pi to compute radians:

3.141592654f


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center