Logo Search packages:      
Sourcecode: openexr version File versions  Download package

Public Types | Public Member Functions | Static Public Member Functions | Public Attributes

Imath::Vec2< T > Class Template Reference

Inheritance diagram for Imath::Vec2< T >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef T BaseType

Public Member Functions

cross (const Vec2 &v) const
dot (const Vec2 &v) const
bool equalWithAbsError (const Vec2< T > &v, T e) const
bool equalWithRelError (const Vec2< T > &v, T e) const
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<>
int length () const
length () const
template<>
short length () const
template<>
int length () const
template<>
short length () const
length2 () const
const Vec2negate ()
template<>
const Vec2< int > & normalize ()
const Vec2normalize ()
template<>
const Vec2< short > & normalize ()
template<>
const Vec2< int > & normalize ()
template<>
const Vec2< short > & normalize ()
template<>
Vec2< int > normalized () const
Vec2< T > normalized () const
template<>
Vec2< short > normalized () const
template<>
Vec2< int > normalized () const
template<>
Vec2< short > normalized () const
template<>
Vec2< short > normalizedExc () const throw(Iex::MathExc)
template<>
Vec2< int > normalizedExc () const throw(Iex::MathExc)
Vec2< T > normalizedExc () const throw (Iex::MathExc)
template<>
Vec2< short > normalizedExc () const throw(Iex::MathExc)
template<>
Vec2< int > normalizedExc () const throw(Iex::MathExc)
template<>
Vec2< short > normalizedNonNull () const
template<>
Vec2< int > normalizedNonNull () const
Vec2< T > normalizedNonNull () const
template<>
Vec2< short > normalizedNonNull () const
template<>
Vec2< int > normalizedNonNull () const
template<>
const Vec2< int > & normalizeExc () throw(Iex::MathExc)
const Vec2normalizeExc () throw (Iex::MathExc)
template<>
const Vec2< short > & normalizeExc () throw(Iex::MathExc)
template<>
const Vec2< int > & normalizeExc () throw(Iex::MathExc)
template<>
const Vec2< short > & normalizeExc () throw(Iex::MathExc)
template<>
const Vec2< int > & normalizeNonNull ()
template<>
const Vec2< short > & normalizeNonNull ()
const Vec2normalizeNonNull ()
template<>
const Vec2< short > & normalizeNonNull ()
template<>
const Vec2< int > & normalizeNonNull ()
template<class S >
bool operator!= (const Vec2< S > &v) const
operator% (const Vec2 &v) const
Vec2 operator* (T a) const
Vec2 operator* (const Vec2 &v) const
const Vec2operator*= (const Vec2 &v)
const Vec2operator*= (T a)
Vec2 operator+ (const Vec2 &v) const
const Vec2operator+= (const Vec2 &v)
Vec2 operator- () const
Vec2 operator- (const Vec2 &v) const
const Vec2operator-= (const Vec2 &v)
Vec2 operator/ (T a) const
Vec2 operator/ (const Vec2 &v) const
const Vec2operator/= (const Vec2 &v)
const Vec2operator/= (T a)
const Vec2operator= (const Vec2 &v)
template<class S >
bool operator== (const Vec2< S > &v) const
T & operator[] (int i)
const T & operator[] (int i) const
operator^ (const Vec2 &v) const
template<class S >
void setValue (const Vec2< S > &v)
template<class S >
void setValue (S a, S b)
 Vec2 (const Vec2 &v)
 Vec2 (T a)
 Vec2 (T a, T b)
template<class S >
 Vec2 (const Vec2< S > &v)

Static Public Member Functions

static T baseTypeEpsilon ()
static T baseTypeMax ()
static T baseTypeMin ()
static T baseTypeSmallest ()
static unsigned int dimensions ()

Public Attributes

x
y

Detailed Description

template<class T>
class Imath::Vec2< T >

Definition at line 56 of file ImathVec.h.


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

Generated by  Doxygen 1.6.0   Back to index