|
|
| Deg ()=default |
| | Default contructor.
|
| |
| constexpr | Deg (T _deg) noexcept |
| | Value constructor without conversion.
|
| |
| template<typename TIn > |
| constexpr | Deg (Deg< TIn > _other) noexcept |
| | Value constructor without conversion.
|
| |
| template<typename TIn > |
| constexpr | Deg (Rad< TIn > _rad) noexcept |
| | Value constructor from radian.
|
| |
| constexpr T | Handle () const noexcept |
| | Access the handled value.
|
| |
| constexpr bool | Equals (Deg _other, T _epsilon=std::numeric_limits< T >::epsilon()) const noexcept |
| | Compare 2 Deg.
|
| |
|
void | Clamp () noexcept |
| | clamp this angle between [-180, 180].
|
| |
| constexpr Deg | operator- () const noexcept |
| | Getter of the opposite signed degree.
|
| |
| constexpr Deg | operator+ (Deg _rhs) const noexcept |
| | Add degrees to handle.
|
| |
| constexpr Deg | operator- (Deg _rhs) const noexcept |
| | Substract degrees to handle.
|
| |
| constexpr Deg | operator* (T _scale) const noexcept |
| | Scale angle.
|
| |
| Deg | operator/ (T _scale) const |
| | Unscale angle.
|
| |
| Deg & | operator+= (Deg _rhs) noexcept |
| | Add degrees to handle.
|
| |
| Deg & | operator-= (Deg _rhs) noexcept |
| | Substract degrees to handle.
|
| |
| Deg & | operator*= (T _scale) noexcept |
| | Scale angle.
|
| |
| Deg & | operator/= (T _scale) |
| | Unscale angle.
|
| |
| constexpr bool | operator== (Deg _rhs) const noexcept |
| | Compare 2 degree equality.
|
| |
| constexpr bool | operator!= (Deg _rhs) const noexcept |
| | Compare 2 degree inequality.
|
| |
| constexpr | operator T () const noexcept |
| | Access the handled value.
|
| |
template<typename T>
class SA::Deg< T >
Maths Degree type.
Handle Degree / Radian conversion.