Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cVecT< TYPE, _IQTY > Class Template Reference

#include <cVecT.h>

Inheritance diagram for GrayLib::cVecT< TYPE, _IQTY >:
GrayLib::cVecTC< TYPE, _IQTY, cVecT< TYPE, _IQTY > >

Public Attributes

TYPE m_a [_IQTY]
 

Additional Inherited Members

- Public Types inherited from GrayLib::cVecTC< TYPE, _IQTY, cVecT< TYPE, _IQTY > >
typedef TYPE DVALUE_t
 Dimension value type. More...
 
typedef cVecTC< TYPE, _IQTY, cVecT< TYPE, _IQTY > > THIS_t
 
- Public Member Functions inherited from GrayLib::cVecTC< TYPE, _IQTY, cVecT< TYPE, _IQTY > >
TYPEget_T () noexcept
 
const TYPEget_CT () const noexcept
 
const cVecT< TYPE, _IQTY > & get_CR () const noexcept
 
 operator const TYPE * () const noexcept
 
TYPE GetElem (int i) const noexcept
 
TYPE operator[] (int i) const noexcept
 
TYPEoperator[] (int i)
 
bool isZero () const noexcept
 
COMPARE_t Compare (const THIS_t &v2) const noexcept
 
bool operator== (const THIS_t &v2) const noexcept
 
bool operator!= (const THIS_t &v2) const noexcept
 
bool IsNear (const THIS_t &v2, TYPE fDist=(TYPE) k_FLT_MIN2) const
 
TYPE get_MagnitudeSq () const noexcept
 
TYPE get_Magnitude () const noexcept
 
cVecT< TYPE, _IQTY > operator- () const
 
cVecT< TYPE, _IQTY > operator- (const THIS_t &v2) const
 
cVecT< TYPE, _IQTY > get_Abs () const
 
cVecT< TYPE, _IQTY > GetSum (const THIS_t &v2) const
 
cVecT< TYPE, _IQTY > operator+ (const THIS_t &v2) const
 
cVecT< TYPE, _IQTY > GetDiff (const THIS_t &v2) const
 
cVecT< TYPE, _IQTY > GetScaled (TYPE nScale) const
 
cVecT< TYPE, _IQTY > operator* (TYPE nScale) const
 
cVecT< TYPE, _IQTY > operator/ (TYPE nScale) const
 
cVecT< TYPE, _IQTY > GetMul (const THIS_t &v2) const
 
cVecT< TYPE, _IQTY > GetDiv (const THIS_t &v2) const
 
TYPE GetDistSq (const THIS_t &v2) const
 
TYPE GetDist (const THIS_t &v2) const
 
TYPE GetDot (const THIS_t &v2) const
 
cVecT< TYPE, _IQTY > get_Normalized () const
 
 operator TYPE * ()
 
TYPERefElem (int i) noexcept
 
void Set (const THIS_t &v)
 
void SetZero () noexcept
 
TYPE SetNormalized (void) noexcept
 
bool put_Magnitude (TYPE nLength)
 
void SetLerp (const THIS_t &a, const THIS_t &b, DVALUE_t t)
 
const cVecT< TYPE, _IQTY > & operator+= (const THIS_t &v2)
 
const cVecT< TYPE, _IQTY > & operator+= (TYPE n)
 
const cVecT< TYPE, _IQTY > & operator-= (const THIS_t &v2) noexcept
 
const cVecT< TYPE, _IQTY > & operator-= (TYPE n) noexcept
 
void DoScale (TYPE n) noexcept
 
const cVecT< TYPE, _IQTY > & operator*= (TYPE nScale) noexcept
 
cVecT< TYPE, _IQTY > & operator*= (const THIS_t &v2) noexcept
 
const cVecT< TYPE, _IQTY > & operator/= (TYPE nScale)
 
cVecT< TYPE, _IQTY > & operator/= (const THIS_t &v2)
 
void DoMul (const THIS_t &v2) noexcept
 
void DoDiv (const THIS_t &v2)
 
- Static Public Member Functions inherited from GrayLib::cVecTC< TYPE, _IQTY, cVecT< TYPE, _IQTY > >
static TYPE GetDot (const THIS_t &v1, const THIS_t &v2)
 
- Static Public Attributes inherited from GrayLib::cVecTC< TYPE, _IQTY, cVecT< TYPE, _IQTY > >
static const int k_nDim
 
- Protected Member Functions inherited from GrayLib::cVecTC< TYPE, _IQTY, cVecT< TYPE, _IQTY > >
 cVecTC ()
 

Member Data Documentation

◆ m_a

template<typename TYPE , int _IQTY>
TYPE GrayLib::cVecT< TYPE, _IQTY >::m_a[_IQTY]

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