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

Public Types

using value_type = Type
 

Public Member Functions

constexpr basic_angle (const basic_degree< value_type > &degree) noexcept
 
constexpr basic_angle (const basic_radian< value_type > &radian) noexcept
 
template<floating_point Other>
requires (std::is_convertible_v<Other, Type>)
constexpr basic_angle (const basic_angle< Other > &other) noexcept
 
template<floating_point Other>
requires (std::is_convertible_v<Other, Type>)
constexpr auto operator+= (const basic_angle< Other > &other) noexcept -> basic_angle< Type > &
 
template<floating_point Other>
requires (std::is_convertible_v<Other, Type>)
constexpr auto operator+= (const basic_degree< Other > &other) noexcept -> basic_angle< Type > &
 
template<floating_point Other>
requires (std::is_convertible_v<Other, Type>)
constexpr auto operator+= (const basic_radian< Other > &other) noexcept -> basic_angle< Type > &
 
template<floating_point Other>
requires (std::is_convertible_v<Other, Type>)
constexpr auto operator-= (const basic_angle< Other > &other) noexcept -> basic_angle< Type > &
 
template<floating_point Other>
requires (std::is_convertible_v<Other, Type>)
constexpr auto operator-= (const basic_degree< Other > &other) noexcept -> basic_angle< Type > &
 
template<floating_point Other>
requires (std::is_convertible_v<Other, Type>)
constexpr auto operator-= (const basic_radian< Other > &other) noexcept -> basic_angle< Type > &
 
template<floating_point Other>
requires (std::is_convertible_v<Other, Type>)
constexpr auto operator*= (const Other other) noexcept -> basic_angle< Type > &
 
constexpr auto to_degrees () const noexcept -> basic_degree< value_type >
 
constexpr auto to_radians () const noexcept -> basic_radian< value_type >
 

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