radians_default_rounded#

static GeometryOperators.radians_default_rounded(angle: float, digits: int) float#

Convert to radians with given round.

Parameters:
anglefloat

Angle in degrees which will be converted to radians and will be under-rounded to the next “digits” decimal.

digitsint

Integer number which is the number of decimals.

Returns:
float

Examples

>>> from ansys.aedt.core.modeler.geometry_operators import GeometryOperators
>>> obj = GeometryOperators()
>>> obj.radians_default_rounded(angle=45, digits=[1, 2, 3])