Public Types |
typedef T | BaseType |
Public Member Functions |
T & | operator[] (int i) |
const T & | operator[] (int i) const |
| Vec3 (T a) |
| Vec3 (T a, T b, T c) |
| Vec3 (const Vec3 &v) |
template<class S > |
| Vec3 (const Vec3< S > &v) |
const Vec3 & | operator= (const Vec3 &v) |
template<class S > |
| Vec3 (const Vec4< S > &v) |
template<class S > |
| Vec3 (const Vec4< S > &v, InfException) |
template<class S > |
void | setValue (S a, S b, S c) |
template<class S > |
void | setValue (const Vec3< S > &v) |
template<class S > |
void | getValue (S &a, S &b, S &c) const |
template<class S > |
void | getValue (Vec3< S > &v) const |
T * | getValue () |
const T * | getValue () const |
template<class S > |
bool | operator== (const Vec3< S > &v) const |
template<class S > |
bool | operator!= (const Vec3< S > &v) const |
bool | equalWithAbsError (const Vec3< T > &v, T e) const |
bool | equalWithRelError (const Vec3< T > &v, T e) const |
T | dot (const Vec3 &v) const |
T | operator^ (const Vec3 &v) const |
Vec3 | cross (const Vec3 &v) const |
const Vec3 & | operator%= (const Vec3 &v) |
Vec3 | operator% (const Vec3 &v) const |
const Vec3 & | operator+= (const Vec3 &v) |
Vec3 | operator+ (const Vec3 &v) const |
const Vec3 & | operator-= (const Vec3 &v) |
Vec3 | operator- (const Vec3 &v) const |
Vec3 | operator- () const |
const Vec3 & | negate () |
const Vec3 & | operator*= (const Vec3 &v) |
const Vec3 & | operator*= (T a) |
Vec3 | operator* (const Vec3 &v) const |
Vec3 | operator* (T a) const |
const Vec3 & | operator/= (const Vec3 &v) |
const Vec3 & | operator/= (T a) |
Vec3 | operator/ (const Vec3 &v) const |
Vec3 | operator/ (T a) const |
T | length () const |
T | length2 () const |
const Vec3 & | normalize () |
const Vec3 & | normalizeExc () throw (Iex::MathExc) |
const Vec3 & | normalizeNonNull () |
Vec3< T > | normalized () const |
Vec3< T > | normalizedExc () const throw (Iex::MathExc) |
Vec3< T > | normalizedNonNull () const |
template<> |
short | length () const |
template<> |
const Vec3< short > & | normalize () |
template<> |
const Vec3< short > & | normalizeExc () throw(Iex::MathExc) |
template<> |
const Vec3< short > & | normalizeNonNull () |
template<> |
Vec3< short > | normalized () const |
template<> |
Vec3< short > | normalizedExc () const throw(Iex::MathExc) |
template<> |
Vec3< short > | normalizedNonNull () const |
template<> |
int | length () const |
template<> |
const Vec3< int > & | normalize () |
template<> |
const Vec3< int > & | normalizeExc () throw(Iex::MathExc) |
template<> |
const Vec3< int > & | normalizeNonNull () |
template<> |
Vec3< int > | normalized () const |
template<> |
Vec3< int > | normalizedExc () const throw(Iex::MathExc) |
template<> |
Vec3< int > | normalizedNonNull () const |
template<> |
short | length () const |
template<> |
const Vec3< short > & | normalize () |
template<> |
const Vec3< short > & | normalizeExc () throw(Iex::MathExc) |
template<> |
const Vec3< short > & | normalizeNonNull () |
template<> |
Vec3< short > | normalized () const |
template<> |
Vec3< short > | normalizedExc () const throw(Iex::MathExc) |
template<> |
Vec3< short > | normalizedNonNull () const |
template<> |
int | length () const |
template<> |
const Vec3< int > & | normalize () |
template<> |
const Vec3< int > & | normalizeExc () throw(Iex::MathExc) |
template<> |
const Vec3< int > & | normalizeNonNull () |
template<> |
Vec3< int > | normalized () const |
template<> |
Vec3< int > | normalizedExc () const throw(Iex::MathExc) |
template<> |
Vec3< int > | normalizedNonNull () const |
Static Public Member Functions |
static unsigned int | dimensions () |
static T | baseTypeMin () |
static T | baseTypeMax () |
static T | baseTypeSmallest () |
static T | baseTypeEpsilon () |
Public Attributes |
T | x |
T | y |
T | z |