sandbox
Loading...
Searching...
No Matches
sbx::math::basic_radian< Type > Class Template Reference

Public Types

using value_type = Type
 

Public Member Functions

template<scalar Other>
requires (std::is_convertible_v<Other, Type>)
constexpr basic_radian (const Other value) noexcept
 
template<floating_point Other>
requires (std::is_convertible_v<Other, Type>)
constexpr basic_radian (const basic_radian< Other > &other) noexcept
 
template<floating_point Other>
requires (std::is_convertible_v<Other, Type>)
constexpr auto operator= (const basic_radian< Other > &other) noexcept -> basic_radian< Type > &
 
template<floating_point Other>
requires (std::is_convertible_v<Other, Type>)
constexpr auto operator+= (const basic_radian< Other > &rhs) noexcept -> basic_radian< Type > &
 
template<floating_point Other>
requires (std::is_convertible_v<Other, Type>)
constexpr auto operator-= (const basic_radian< Other > &rhs) noexcept -> basic_radian< Type > &
 
template<floating_point Other>
requires (std::is_convertible_v<Other, Type>)
constexpr auto operator*= (const Other rhs) noexcept -> basic_radian< Type > &
 
constexpr auto value () const noexcept -> value_type
 
constexpr operator value_type () const noexcept
 

Static Public Attributes

static constexpr basic_radian min {value_type{0}}
 
static constexpr basic_radian max {value_type{2 * std::numbers::pi_v<value_type>}}
 

The documentation for this class was generated from the following file: