|
Rumba C++ SDK
|
#include <ImathVec.h>
Public Types | |
| typedef T | BaseType |
Public Member Functions | |
| T & | operator[] (int i) |
| const T & | operator[] (int i) const |
| Vec2 () | |
| Vec2 (T a) | |
| Vec2 (T a, T b) | |
| Vec2 (const Vec2 &v) | |
| template<class S > | |
| Vec2 (const Vec2< S > &v) | |
| const Vec2 & | operator= (const Vec2 &v) |
| template<class S > | |
| void | setValue (S a, S b) |
| template<class S > | |
| void | setValue (const Vec2< S > &v) |
| template<class S > | |
| void | getValue (S &a, S &b) const |
| template<class S > | |
| void | getValue (Vec2< S > &v) const |
| T * | getValue () |
| const T * | getValue () const |
| template<class S > | |
| bool | operator== (const Vec2< S > &v) const |
| template<class S > | |
| bool | operator!= (const Vec2< S > &v) const |
| bool | equalWithAbsError (const Vec2< T > &v, T e) const |
| bool | equalWithRelError (const Vec2< T > &v, T e) const |
| T | dot (const Vec2 &v) const |
| T | operator^ (const Vec2 &v) const |
| T | cross (const Vec2 &v) const |
| T | operator% (const Vec2 &v) const |
| const Vec2 & | operator+= (const Vec2 &v) |
| Vec2 | operator+ (const Vec2 &v) const |
| const Vec2 & | operator-= (const Vec2 &v) |
| Vec2 | operator- (const Vec2 &v) const |
| Vec2 | operator- () const |
| const Vec2 & | negate () |
| const Vec2 & | operator*= (const Vec2 &v) |
| const Vec2 & | operator*= (T a) |
| Vec2 | operator* (const Vec2 &v) const |
| Vec2 | operator* (T a) const |
| const Vec2 & | operator/= (const Vec2 &v) |
| const Vec2 & | operator/= (T a) |
| Vec2 | operator/ (const Vec2 &v) const |
| Vec2 | operator/ (T a) const |
| T | length () const |
| T | length2 () const |
| const Vec2 & | normalize () |
| const Vec2 & | normalizeExc () throw (Iex::MathExc) |
| const Vec2 & | normalizeNonNull () |
| Vec2< T > | normalized () const |
| Vec2< T > | normalizedExc () const throw (Iex::MathExc) |
| Vec2< T > | normalizedNonNull () const |
| template<> | |
| short | length () const |
| template<> | |
| const Vec2< short > & | normalize () |
| template<> | |
| const Vec2< short > & | normalizeExc () throw(Iex::MathExc) |
| template<> | |
| const Vec2< short > & | normalizeNonNull () |
| template<> | |
| Vec2< short > | normalized () const |
| template<> | |
| Vec2< short > | normalizedExc () const throw(Iex::MathExc) |
| template<> | |
| Vec2< short > | normalizedNonNull () const |
| template<> | |
| int | length () const |
| template<> | |
| const Vec2< int > & | normalize () |
| template<> | |
| const Vec2< int > & | normalizeExc () throw(Iex::MathExc) |
| template<> | |
| const Vec2< int > & | normalizeNonNull () |
| template<> | |
| Vec2< int > | normalized () const |
| template<> | |
| Vec2< int > | normalizedExc () const throw(Iex::MathExc) |
| template<> | |
| Vec2< int > | normalizedNonNull () const |
| template<> | |
| short | length () const |
| template<> | |
| const Vec2< short > & | normalize () |
| template<> | |
| const Vec2< short > & | normalizeExc () throw(Iex::MathExc) |
| template<> | |
| const Vec2< short > & | normalizeNonNull () |
| template<> | |
| Vec2< short > | normalized () const |
| template<> | |
| Vec2< short > | normalizedExc () const throw(Iex::MathExc) |
| template<> | |
| Vec2< short > | normalizedNonNull () const |
| template<> | |
| int | length () const |
| template<> | |
| const Vec2< int > & | normalize () |
| template<> | |
| const Vec2< int > & | normalizeExc () throw(Iex::MathExc) |
| template<> | |
| const Vec2< int > & | normalizeNonNull () |
| template<> | |
| Vec2< int > | normalized () const |
| template<> | |
| Vec2< int > | normalizedExc () const throw(Iex::MathExc) |
| template<> | |
| Vec2< 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 |
| typedef T Imath::Vec2< T >::BaseType |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inlinestatic |
|
inline |
| bool Imath::Vec2< T >::equalWithAbsError | ( | const Vec2< T > & | v, |
| T | e | ||
| ) | const |
| bool Imath::Vec2< T >::equalWithRelError | ( | const Vec2< T > & | v, |
| T | e | ||
| ) | const |
|
inline |
|
inline |
| short Imath::Vec2< short >::length | ( | ) | const |
| int Imath::Vec2< int >::length | ( | ) | const |
|
inline |
| short Imath::Vec2< short >::length | ( | ) | const |
| int Imath::Vec2< int >::length | ( | ) | const |
|
inline |
|
inline |
| const Vec2< short > & Imath::Vec2< short >::normalize | ( | ) |
| const Vec2< int > & Imath::Vec2< int >::normalize | ( | ) |
| const Vec2< T > & Imath::Vec2< T >::normalize | ( | ) |
| const Vec2< short > & Imath::Vec2< short >::normalize | ( | ) |
| const Vec2< int > & Imath::Vec2< int >::normalize | ( | ) |
| Vec2< short > Imath::Vec2< short >::normalized | ( | ) | const |
| Vec2< T > Imath::Vec2< T >::normalized | ( | ) | const |
| Vec2< int > Imath::Vec2< int >::normalized | ( | ) | const |
| Vec2< short > Imath::Vec2< short >::normalized | ( | ) | const |
| Vec2< int > Imath::Vec2< int >::normalized | ( | ) | const |
| Vec2< short > Imath::Vec2< short >::normalizedExc | ( | ) | const | |
| throw | ( | Iex::MathExc | ||
| ) | ||||
| Vec2< T > Imath::Vec2< T >::normalizedExc | ( | ) | const | |
| throw | ( | Iex::MathExc | ||
| ) | ||||
| Vec2< int > Imath::Vec2< int >::normalizedExc | ( | ) | const | |
| throw | ( | Iex::MathExc | ||
| ) | ||||
| Vec2< short > Imath::Vec2< short >::normalizedExc | ( | ) | const | |
| throw | ( | Iex::MathExc | ||
| ) | ||||
| Vec2< int > Imath::Vec2< int >::normalizedExc | ( | ) | const | |
| throw | ( | Iex::MathExc | ||
| ) | ||||
| Vec2< short > Imath::Vec2< short >::normalizedNonNull | ( | ) | const |
|
inline |
| Vec2< int > Imath::Vec2< int >::normalizedNonNull | ( | ) | const |
| Vec2< short > Imath::Vec2< short >::normalizedNonNull | ( | ) | const |
| Vec2< int > Imath::Vec2< int >::normalizedNonNull | ( | ) | const |
| const Vec2< short > & Imath::Vec2< short >::normalizeExc | ( | ) | ||
| throw | ( | Iex::MathExc | ||
| ) | ||||
| const Vec2< int > & Imath::Vec2< int >::normalizeExc | ( | ) | ||
| throw | ( | Iex::MathExc | ||
| ) | ||||
| const Vec2< T > & Imath::Vec2< T >::normalizeExc | ( | ) | ||
| throw | ( | Iex::MathExc | ||
| ) | ||||
| const Vec2< short > & Imath::Vec2< short >::normalizeExc | ( | ) | ||
| throw | ( | Iex::MathExc | ||
| ) | ||||
| const Vec2< int > & Imath::Vec2< int >::normalizeExc | ( | ) | ||
| throw | ( | Iex::MathExc | ||
| ) | ||||
| const Vec2< short > & Imath::Vec2< short >::normalizeNonNull | ( | ) |
|
inline |
| const Vec2< int > & Imath::Vec2< int >::normalizeNonNull | ( | ) |
| const Vec2< short > & Imath::Vec2< short >::normalizeNonNull | ( | ) |
| const Vec2< int > & Imath::Vec2< int >::normalizeNonNull | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| T Imath::Vec2< T >::x |
| T Imath::Vec2< T >::y |