![]() |
Prusa Slicer 2.6.0
|
Data type representing radians. It supports conversion to degrees. More...
#include <src/libnest2d/include/libnest2d/common.hpp>
Inheritance diagram for libnest2d::Radians:
Collaboration diagram for libnest2d::Radians:Public Member Functions | |
| Radians (double rads=Double()) | |
| Radians (const Degrees °s) | |
| operator Degrees () | |
| double | toDegrees () |
| double | sin () const |
| double | cos () const |
| operator double () const BP2D_NOEXCEPT | |
| operator double & () BP2D_NOEXCEPT | |
Protected Attributes | |
| double | val_ |
Private Attributes | |
| double | sin_ = std::nan("") |
| double | cos_ = std::nan("") |
Data type representing radians. It supports conversion to degrees.
|
inline |
References cos_, sin_, and libnest2d::Double::val_.
|
inline |
References libnest2d::Pi.
|
inlineinherited |
References libnest2d::Double::val_.
|
inlineinherited |
References libnest2d::Double::val_.
|
inline |
|
inline |
|
protectedinherited |
Referenced by cos(), libnest2d::Double::operator double(), libnest2d::Double::operator double &(), and sin().