2023-05-26 12:31:24 -07:00
|
|
|
from enum import Enum
|
|
|
|
|
|
|
|
|
|
|
|
class UnitAngle(str, Enum):
|
2023-11-27 16:01:20 -08:00
|
|
|
"""The valid types of angle formats.""" # noqa: E501
|
|
|
|
|
|
|
|
"""# Degrees <https://en.wikipedia.org/wiki/Degree_(angle)> """ # noqa: E501
|
|
|
|
DEGREES = "degrees"
|
|
|
|
"""# Radians <https://en.wikipedia.org/wiki/Radian> """ # noqa: E501
|
|
|
|
RADIANS = "radians"
|
|
|
|
|
|
|
|
def __str__(self) -> str:
|
|
|
|
return str(self.value)
|