Object for convenient and type-safe handling of angles. More...
Public Member Functions | |
cvb.Angle | from_degrees (float deg, bool trim=False) |
Create an angle in degrees. | |
cvb.Angle | from_radians (float rad, bool trim=False) |
Create an angle in radians. | |
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 ) |
We use cookies to improve your experience. By using this documentation, you agree to our use of cookies.