OpenSiv3D  v0.6.5
C++20 framework for creative coding
s3d::CylindricalBase< Float > Struct Template Reference

#include <Cylindrical.hpp>

Public Types

using value_type = Float
 
using position_type = Vector3D< value_type >
 

Public Member Functions

SIV3D_NODISCARD_CXX20 CylindricalBase ()=default
 
constexpr SIV3D_NODISCARD_CXX20 CylindricalBase (value_type _r, value_type _phi, value_type _y) noexcept
 
constexpr SIV3D_NODISCARD_CXX20 CylindricalBase (Arg::r_< value_type > _r, Arg::phi_< value_type > _phi, Arg::y_< value_type > _y) noexcept
 
constexpr SIV3D_NODISCARD_CXX20 CylindricalBase (Arg::r_< value_type > _r, Arg::y_< value_type > _y, Arg::phi_< value_type > _phi) noexcept
 
constexpr SIV3D_NODISCARD_CXX20 CylindricalBase (Arg::phi_< value_type > _phi, Arg::r_< value_type > _r, Arg::y_< value_type > _y) noexcept
 
constexpr SIV3D_NODISCARD_CXX20 CylindricalBase (Arg::phi_< value_type > _phi, Arg::y_< value_type > _y, Arg::r_< value_type > _r) noexcept
 
constexpr SIV3D_NODISCARD_CXX20 CylindricalBase (Arg::y_< value_type > _y, Arg::r_< value_type > _r, Arg::phi_< value_type > _phi) noexcept
 
constexpr SIV3D_NODISCARD_CXX20 CylindricalBase (Arg::y_< value_type > _y, Arg::phi_< value_type > _phi, Arg::r_< value_type > _r) noexcept
 
SIV3D_NODISCARD_CXX20 CylindricalBase (position_type pos) noexcept
 
constexpr CylindricalBase operator+ () const noexcept
 
constexpr CylindricalBase operator- () const noexcept
 
position_type operator+ (position_type v) const noexcept
 
position_type operator- (position_type v) const noexcept
 
Float3 toFloat3 () const noexcept
 
Vec3 toVec3 () const noexcept
 
Float3 fastToFloat3 () const noexcept
 
Vec3 fastToVec3 () const noexcept
 
position_type toPosition () const noexcept
 
 operator position_type () const noexcept
 
size_t hash () const noexcept
 

Public Attributes

value_type r
 
value_type phi
 
value_type y
 

Friends

template<class CharType >
std::basic_ostream< CharType > & operator<< (std::basic_ostream< CharType > &output, const CylindricalBase &value)
 
template<class CharType >
std::basic_istream< CharType > & operator>> (std::basic_istream< CharType > &input, CylindricalBase &value)
 
void Formatter (FormatData &formatData, const CylindricalBase &value)
 

Member Typedef Documentation

◆ position_type

template<class Float >
using s3d::CylindricalBase< Float >::position_type = Vector3D<value_type>

◆ value_type

template<class Float >
using s3d::CylindricalBase< Float >::value_type = Float

Constructor & Destructor Documentation

◆ CylindricalBase() [1/9]

template<class Float >
SIV3D_NODISCARD_CXX20 s3d::CylindricalBase< Float >::CylindricalBase ( )
default

◆ CylindricalBase() [2/9]

template<class Float >
constexpr SIV3D_NODISCARD_CXX20 s3d::CylindricalBase< Float >::CylindricalBase ( value_type  _r,
value_type  _phi,
value_type  _y 
)
constexprnoexcept

◆ CylindricalBase() [3/9]

template<class Float >
constexpr SIV3D_NODISCARD_CXX20 s3d::CylindricalBase< Float >::CylindricalBase ( Arg::r_< value_type _r,
Arg::phi_< value_type _phi,
Arg::y_< value_type _y 
)
constexprnoexcept

◆ CylindricalBase() [4/9]

template<class Float >
constexpr SIV3D_NODISCARD_CXX20 s3d::CylindricalBase< Float >::CylindricalBase ( Arg::r_< value_type _r,
Arg::y_< value_type _y,
Arg::phi_< value_type _phi 
)
constexprnoexcept

◆ CylindricalBase() [5/9]

template<class Float >
constexpr SIV3D_NODISCARD_CXX20 s3d::CylindricalBase< Float >::CylindricalBase ( Arg::phi_< value_type _phi,
Arg::r_< value_type _r,
Arg::y_< value_type _y 
)
constexprnoexcept

◆ CylindricalBase() [6/9]

template<class Float >
constexpr SIV3D_NODISCARD_CXX20 s3d::CylindricalBase< Float >::CylindricalBase ( Arg::phi_< value_type _phi,
Arg::y_< value_type _y,
Arg::r_< value_type _r 
)
constexprnoexcept

◆ CylindricalBase() [7/9]

template<class Float >
constexpr SIV3D_NODISCARD_CXX20 s3d::CylindricalBase< Float >::CylindricalBase ( Arg::y_< value_type _y,
Arg::r_< value_type _r,
Arg::phi_< value_type _phi 
)
constexprnoexcept

◆ CylindricalBase() [8/9]

template<class Float >
constexpr SIV3D_NODISCARD_CXX20 s3d::CylindricalBase< Float >::CylindricalBase ( Arg::y_< value_type _y,
Arg::phi_< value_type _phi,
Arg::r_< value_type _r 
)
constexprnoexcept

◆ CylindricalBase() [9/9]

template<class Float >
SIV3D_NODISCARD_CXX20 s3d::CylindricalBase< Float >::CylindricalBase ( position_type  pos)
noexcept

Member Function Documentation

◆ fastToFloat3()

template<class Float >
Float3 s3d::CylindricalBase< Float >::fastToFloat3 ( ) const
noexcept

◆ fastToVec3()

template<class Float >
Vec3 s3d::CylindricalBase< Float >::fastToVec3 ( ) const
noexcept

◆ hash()

template<class Float >
size_t s3d::CylindricalBase< Float >::hash ( ) const
noexcept

◆ operator position_type()

template<class Float >
s3d::CylindricalBase< Float >::operator position_type ( ) const
noexcept

◆ operator+() [1/2]

template<class Float >
constexpr CylindricalBase s3d::CylindricalBase< Float >::operator+ ( ) const
constexprnoexcept

◆ operator+() [2/2]

template<class Float >
position_type s3d::CylindricalBase< Float >::operator+ ( position_type  v) const
noexcept

◆ operator-() [1/2]

template<class Float >
constexpr CylindricalBase s3d::CylindricalBase< Float >::operator- ( ) const
constexprnoexcept

◆ operator-() [2/2]

template<class Float >
position_type s3d::CylindricalBase< Float >::operator- ( position_type  v) const
noexcept

◆ toFloat3()

template<class Float >
Float3 s3d::CylindricalBase< Float >::toFloat3 ( ) const
noexcept

◆ toPosition()

template<class Float >
position_type s3d::CylindricalBase< Float >::toPosition ( ) const
noexcept

◆ toVec3()

template<class Float >
Vec3 s3d::CylindricalBase< Float >::toVec3 ( ) const
noexcept

Friends And Related Function Documentation

◆ Formatter

template<class Float >
void Formatter ( FormatData formatData,
const CylindricalBase< Float > &  value 
)
friend

◆ operator<<

template<class Float >
template<class CharType >
std::basic_ostream<CharType>& operator<< ( std::basic_ostream< CharType > &  output,
const CylindricalBase< Float > &  value 
)
friend

◆ operator>>

template<class Float >
template<class CharType >
std::basic_istream<CharType>& operator>> ( std::basic_istream< CharType > &  input,
CylindricalBase< Float > &  value 
)
friend

Member Data Documentation

◆ phi

template<class Float >
value_type s3d::CylindricalBase< Float >::phi

◆ r

template<class Float >
value_type s3d::CylindricalBase< Float >::r

◆ y

template<class Float >
value_type s3d::CylindricalBase< Float >::y

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