to_degree method
Contents
[
Hide
]to_degree(, radian)
Convert a Vector3 from radian to degree.
Returns
The degree value.
@staticmethod
def to_degree(radian):
...
| Parameter | Type | Description |
|---|---|---|
| radian | aspose.threed.utilities.Vector3 | The radian value. |
Example
from aspose.threed.utilities import MathUtils, Vector3
degrees = MathUtils.to_degree(Vector3(0.34, 0.9, 0.2))
print(f"Degrees = {degrees}")
to_degree(, radian)
Convert a number from radian to degree
Returns
The degree value.
@staticmethod
def to_degree(radian):
...
| Parameter | Type | Description |
|---|---|---|
| radian | float | The radian value. |
Example
from aspose.threed.utilities import MathUtils
deg = MathUtils.to_degree(0.3)
print(f"Degree = {deg}")
to_degree(, radian)
Convert a number from radian to degree
Returns
The degree value.
@staticmethod
def to_degree(radian):
...
| Parameter | Type | Description |
|---|---|---|
| radian | float | The radian value. |
Example
from aspose.threed.utilities import MathUtils
deg = MathUtils.to_degree(0.3)
print(f"Degree = {deg}")
to_degree(, x, y, z)
Convert a number from radian to degree
Returns
The degree value.
@staticmethod
def to_degree(x, y, z):
...
| Parameter | Type | Description |
|---|---|---|
| x | float | The x component in radian value. |
| y | float | The y component in radian value. |
| z | float | The z component in radian value. |
See Also
- module
aspose.threed.utilities - class
MathUtils - class
Vector3