DxLibEx
point3d.hpp File Reference
Include dependency graph for point3d.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  dxle::point3d_c< T, >
 Template class for 3D points specified by its coordinates x and y. More...
 

Namespaces

 dxle
 
 dxle::detail
 

Typedefs

typedef point3d_c< int > dxle::point3di
 
typedef point3d_c< std::uint8_t > dxle::point3du8i
 
typedef point3d_c< std::int8_t > dxle::point3d8i
 
typedef point3d_c< double > dxle::point3dd
 
typedef point3d_c< float > dxle::point3df
 

Functions

template<typename CharType , typename point3dType >
void dxle::detail::ostream_operator_helper (std::basic_ostream< CharType > &os, const CharType *str, const point3d_c< point3dType > &p)
 
template<typename CharType , typename point3dType >
void dxle::detail::istream_operator_helper (std::basic_istream< CharType > &is, point3d_c< point3dType > &p)
 
point3d_c< T1 > T2 DXLE_CONSTEXPR auto dxle::operator+ (const point3d_c< T1 > &l, const point3d_c< T2 > &r) DXLE_NOEXCEPT_IF_EXPR(l.x+r.x) -> point3d_c< decltype(std::declval< std::remove_cv_t< T1 >>()+std::declval< std::remove_cv_t< T2 >>())>
 
point3d_c< T1 > T2 DXLE_CONSTEXPR auto dxle::operator/ (const point3d_c< T1 > &l, T2 r) DXLE_NOEXCEPT_IF_EXPR(l.x/r) -> point3d_c< decltype(std::declval< std::remove_cv_t< T1 >>() - std::declval< std::remove_cv_t< T2 >>())>
 
point3d_c< T1 > T2 DXLE_CONSTEXPR auto dxle::dot (const point3d_c< T1 > &p1, const point3d_c< T2 > &p2) DXLE_NOEXCEPT_IF_EXPR(p1.x *p2.x+p1.y *p2.y+p1.z *p2.z) -> decltype(std::declval< std::remove_cv_t< T1 >>() *std::declval< std::remove_cv_t< T2 >>())