alternative Standard Libary  0.29.8
std::math::plane< T > Template-Klassenreferenz

#include <plane.hpp>

+ Klassendiagramm für std::math::plane< T >:
+ Zusammengehörigkeiten von std::math::plane< T >:

Öffentliche Typen

typedef T value_type
 
typedef plane< T > self_type
 
typedef T * pointer
 

Öffentliche Methoden

 plane (void)
 
 plane (const value_type _x, const value_type _y, const value_type _z, const value_type _w)
 
 plane (const value_type f)
 
 plane (const self_type &vec)
 
 plane (const vector3< T > &vec)
 
 plane (const vector2< T > &vec)
 
 plane (const value_type *lpf)
 
virtual std::string to_string ()
 
 operator value_type * ()
 
 operator void * ()
 
self_typeoperator+= (const self_type &v)
 
self_typeoperator-= (const self_type &v)
 
self_typeoperator*= (const self_type &v)
 
self_typeoperator*= (const value_type &f)
 
self_typeoperator/= (const self_type &v)
 
self_typeoperator/= (const value_type &f)
 

Öffentliche Attribute

union {
   struct {
      value_type   x
 
      value_type   y
 
      value_type   z
 
      value_type   w
 
   } 
 
   struct {
      vector3< value_type >   xyz
 
   } 
 
   float   c [4]
 
}; 
 

Ausführliche Beschreibung

template<typename T>
class std::math::plane< T >

Dokumentation der benutzerdefinierten Datentypen

◆ pointer

template<typename T >
typedef T* std::math::plane< T >::pointer

◆ self_type

template<typename T >
typedef plane<T> std::math::plane< T >::self_type

◆ value_type

template<typename T >
typedef T std::math::plane< T >::value_type

Beschreibung der Konstruktoren und Destruktoren

◆ plane() [1/7]

template<typename T >
std::math::plane< T >::plane ( void  )
inline
56  : vector4<T>() {}

◆ plane() [2/7]

template<typename T >
std::math::plane< T >::plane ( const value_type  _x,
const value_type  _y,
const value_type  _z,
const value_type  _w 
)
inline
58  : vector4<T>(_x, _y, _z, _w) {}

◆ plane() [3/7]

template<typename T >
std::math::plane< T >::plane ( const value_type  f)
inline
60  : vector4<T>(f, f, f, f) {}

◆ plane() [4/7]

template<typename T >
std::math::plane< T >::plane ( const self_type vec)
inline
62  : vector4<T>(vec.x, vec.y, vec.z, vec.w) {}

◆ plane() [5/7]

template<typename T >
std::math::plane< T >::plane ( const vector3< T > &  vec)
inline
64  : vector4<T>(vec) {}

◆ plane() [6/7]

template<typename T >
std::math::plane< T >::plane ( const vector2< T > &  vec)
inline
66  : vector4<T>(vec) {}

◆ plane() [7/7]

template<typename T >
std::math::plane< T >::plane ( const value_type lpf)
inline
68  : vector4<T>(lpf) {}

Dokumentation der Elementfunktionen

◆ operator value_type *()

template<typename T>
std::math::vector4< T >::operator value_type * ( )
inlineinherited
84 { return (float*)(c); }
float c[4]
Definition: vector4.hpp:67

◆ operator void *()

template<typename T>
std::math::vector4< T >::operator void * ( )
inlineinherited
85 { return (void*)(c); }
float c[4]
Definition: vector4.hpp:67

◆ operator*=() [1/2]

template<typename T>
self_type& std::math::vector4< T >::operator*= ( const self_type v)
inlineinherited
90 { x *= v.x; y *= v.y; z *= v.z; w *= v.w; return *this; }
value_type x
Definition: vector4.hpp:59
value_type z
Definition: vector4.hpp:61
value_type y
Definition: vector4.hpp:60
value_type w
Definition: vector4.hpp:62

◆ operator*=() [2/2]

template<typename T>
self_type& std::math::vector4< T >::operator*= ( const value_type f)
inlineinherited
94 { x *= f; y *= f; z *= f; w *= f; return *this; }
value_type x
Definition: vector4.hpp:59
value_type z
Definition: vector4.hpp:61
value_type y
Definition: vector4.hpp:60
value_type w
Definition: vector4.hpp:62

◆ operator+=()

template<typename T>
self_type& std::math::vector4< T >::operator+= ( const self_type v)
inlineinherited
88 { x += v.x; y += v.y; z += v.z; w += v.w; return *this; }
value_type x
Definition: vector4.hpp:59
value_type z
Definition: vector4.hpp:61
value_type y
Definition: vector4.hpp:60
value_type w
Definition: vector4.hpp:62

◆ operator-=()

template<typename T>
self_type& std::math::vector4< T >::operator-= ( const self_type v)
inlineinherited
89 { x -= v.x; y -= v.y; z -= v.z; w -= v.w; return *this; }
value_type x
Definition: vector4.hpp:59
value_type z
Definition: vector4.hpp:61
value_type y
Definition: vector4.hpp:60
value_type w
Definition: vector4.hpp:62

◆ operator/=() [1/2]

template<typename T>
self_type& std::math::vector4< T >::operator/= ( const self_type v)
inlineinherited
91 { x /= v.x; y /= v.y; z /= v.z; w /= v.w; return *this; }
value_type x
Definition: vector4.hpp:59
value_type z
Definition: vector4.hpp:61
value_type y
Definition: vector4.hpp:60
value_type w
Definition: vector4.hpp:62

◆ operator/=() [2/2]

template<typename T>
self_type& std::math::vector4< T >::operator/= ( const value_type f)
inlineinherited
93 { x /= f; y /= f; z /= f; w /= f; return *this; }
value_type x
Definition: vector4.hpp:59
value_type z
Definition: vector4.hpp:61
value_type y
Definition: vector4.hpp:60
value_type w
Definition: vector4.hpp:62

◆ to_string()

template<typename T >
virtual std::string std::math::plane< T >::to_string ( )
inlinevirtual
70  {
71  return std::frmstring("plane: %s", vector4<T>::to_string() );
72  }
size_t frmstring(basic_string< E, TAllocator, TStorage > &dest, const char *format, va_list arg)
Definition: string.hpp:99
std::basic_string< E, TAllocator, TStorage > to_string()
Definition: vector4.hpp:97

Dokumentation der Datenelemente

◆ @38

union { ... }

◆ c

template<typename T>
float std::math::vector4< T >::c[4]
inherited

◆ w

template<typename T>
value_type std::math::vector4< T >::w
inherited

◆ x

template<typename T>
value_type std::math::vector4< T >::x
inherited

◆ xyz

template<typename T>
vector3<value_type> std::math::vector4< T >::xyz
inherited

◆ y

template<typename T>
value_type std::math::vector4< T >::y
inherited

◆ z

template<typename T>
value_type std::math::vector4< T >::z
inherited

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: