Geometry.RadianToDegree Method

Language:

Converts radians to degrees.

Definition

Visual Basic Public Shared Function RadianToDegree( _
    ByVal radian As Single _
) As Single
C# public static float RadianToDegree(
    float radian
);
C++ public:
static float RadianToDegree(
    float radian
);
JScript 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


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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