#include <types.hpp>
Strongly-typed angle in radians. Use Radians::from_deg() to convert from degrees.
Definition at line 99 of file types.hpp.
◆ Radians() [1/2]
| libstp::foundation::Radians::Radians |
( |
| ) |
|
|
constexprdefault |
◆ Radians() [2/2]
| libstp::foundation::Radians::Radians |
( |
double | rad | ) |
|
|
inlineexplicitconstexpr |
◆ from_deg()
| constexpr Radians libstp::foundation::Radians::from_deg |
( |
double | deg | ) |
|
|
inlinestaticconstexpr |
◆ operator double()
| libstp::foundation::Radians::operator double |
( |
| ) |
const |
|
inlineconstexpr |
◆ operator+()
◆ operator-() [1/2]
| Radians libstp::foundation::Radians::operator- |
( |
| ) |
const |
|
inlineconstexpr |
◆ operator-() [2/2]
◆ to_deg()
| double libstp::foundation::Radians::to_deg |
( |
| ) |
const |
|
inlineconstexpr |
◆ value
| double libstp::foundation::Radians::value {0.0} |
The documentation for this struct was generated from the following file:
- /home/runner/work/raccoon-lib/raccoon-lib/modules/libstp-foundation/include/foundation/types.hpp