#include <MathHelper.h>
Public Member Functions | |
CVec3 (T x_=T(0), T y_=T(0), T z_=T(0)) | |
template<typename U > | |
CVec3 (const U v_[]) | |
template<typename U > | |
CVec3 (U x_, U y_, U z_) | |
template<typename U > | |
CVec3 (const Vec3< U > &v_) | |
template<typename U = T> | |
CVec3< T > & | operator= (const Vec3< U > &v_) |
template<typename U > | |
void | operator+= (const fvmath::Vec3< U > &v_) |
template<typename U > | |
operator U * () | |
T | operator[] (int idx) const |
T & | operator[] (int idx) |
template<typename U > | |
void | operator+= (const U *rhs) |
void | operator*= (const T &alpha) |
void | operator-= (const Vec3< T > &rhs) |
void | operator/= (const Vec3< T > &rhs) |
template<> | |
CVec3 (const float v_[]) | |
template<> | |
CVec3< float > & | operator= (const Vec3< float > &v) |
template<> | |
void | operator+= (const Vec3< float > &v_) |
Friends | |
std::ostream & | operator<< (std::ostream &os, const CVec3 &rhs) |
FemViewer::fvmath::CVec3< T >::CVec3 | ( | T | x_ = T(0) , |
|
T | y_ = T(0) , |
|||
T | z_ = T(0) | |||
) | [inline] |
FemViewer::fvmath::CVec3< T >::CVec3 | ( | const U | v_[] | ) | [inline] |
FemViewer::fvmath::CVec3< T >::CVec3 | ( | U | x_, | |
U | y_, | |||
U | z_ | |||
) | [inline] |
FemViewer::fvmath::CVec3< T >::CVec3 | ( | const Vec3< U > & | v_ | ) | [inline] |
FemViewer::fvmath::CVec3< float >::CVec3 | ( | const float | v_[] | ) | [inline] |
void FemViewer::fvmath::CVec3< T >::operator*= | ( | const T & | alpha | ) | [inline] |
void FemViewer::fvmath::CVec3< float >::operator+= | ( | const Vec3< float > & | v_ | ) | [inline] |
void FemViewer::fvmath::CVec3< T >::operator+= | ( | const U * | rhs | ) | [inline] |
void FemViewer::fvmath::CVec3< T >::operator+= | ( | const fvmath::Vec3< U > & | v_ | ) | [inline] |
void FemViewer::fvmath::CVec3< T >::operator-= | ( | const Vec3< T > & | rhs | ) | [inline] |
void FemViewer::fvmath::CVec3< T >::operator/= | ( | const Vec3< T > & | rhs | ) | [inline] |
CVec3< float > & FemViewer::fvmath::CVec3< float >::operator= | ( | const Vec3< float > & | v | ) | [inline] |
CVec3< T > & FemViewer::fvmath::CVec3< T >::operator= | ( | const Vec3< U > & | v_ | ) | [inline] |
T& FemViewer::fvmath::CVec3< T >::operator[] | ( | int | idx | ) | [inline] |
T FemViewer::fvmath::CVec3< T >::operator[] | ( | int | idx | ) | const [inline] |
std::ostream& operator<< | ( | std::ostream & | os, | |
const CVec3< T > & | rhs | |||
) | [friend] |