MathUtils.ToDegree
Contents
[
Hide
]ToDegree(Vector3)
Convert a Vector3
from radian to degree.
public static Vector3 ToDegree(Vector3 radian)
Parameter | Type | Description |
---|---|---|
radian | Vector3 | The radian value. |
Return Value
The degree value.
Examples
Vector3 degrees = MathUtils.ToDegree(new Vector3(0.34, 0.9, 0.2));
Console.WriteLine($"Degrees = {degrees}");
See Also
- struct Vector3
- class MathUtils
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D
ToDegree(float)
Convert a number from radian to degree
public static float ToDegree(float radian)
Parameter | Type | Description |
---|---|---|
radian | Single | The radian value. |
Return Value
The degree value.
Examples
var deg = MathUtils.ToDegree(0.3f);
Console.WriteLine($"Degree = {deg}");
See Also
- class MathUtils
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D
ToDegree(double)
Convert a number from radian to degree
public static double ToDegree(double radian)
Parameter | Type | Description |
---|---|---|
radian | Double | The radian value. |
Return Value
The degree value.
Examples
var deg = MathUtils.ToDegree(0.3);
Console.WriteLine($"Degree = {deg}");
See Also
- class MathUtils
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D
ToDegree(double, double, double)
Convert a number from radian to degree
public static Vector3 ToDegree(double x, double y, double z)
Parameter | Type | Description |
---|---|---|
x | Double | The x component in radian value. |
y | Double | The y component in radian value. |
z | Double | The z component in radian value. |
Return Value
The degree value.
See Also
- struct Vector3
- class MathUtils
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D