Object for convenient and type-safe handling of angles. More...
Inherits object.
Public Member Functions | |
cvb.Angle | from_degrees (float deg, bool trim=False) |
Create an angle in degrees. More... | |
cvb.Angle | from_radians (float rad, bool trim=False) |
Create an angle in radians. More... | |
Object for convenient and type-safe handling of angles.
Default creates a 0 degree angle.
trim : bool Enable trimming of values between -PI...PI.
cvb.Angle from_degrees | ( | float | deg, |
bool | trim = False |
||
) |