FaceGen 3 SDKs Reference
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Fg::FR2Vect2TC< T > Class Template Reference

Public Member Functions

 FR2Vect2TC (const FR2Vect2TC &v)=default
 
FR2Vect2TCoperator= (FR2Vect2TC const &)=default
 
 FR2Vect2TC (T a)
 
 FR2Vect2TC (T y1, T y2)
 
template<class U >
 FR2Vect2TC (const FR2Vect2TC< U > &v)
 
T & operator[] (unsigned int n)
 
T const & operator[] (unsigned int n) const
 
void set (T a)
 
const FR2Vect2TC operator- () const
 
void operator-= (FR2Vect2TC)
 
void operator+= (FR2Vect2TC)
 
const FR2Vect2TC operator+ (const FR2Vect2TC &) const
 
const FR2Vect2TC operator- (const FR2Vect2TC &) const
 
const FR2Vect2TC operator* (T) const
 
const FR2Vect2TC operator/ (T) const
 
void operator/= (T)
 
void operator*= (T)
 
bool operator== (const FR2Vect2TC &v) const
 
bool operator!= (const FR2Vect2TC &v) const
 
T const len () const
 
T const mag () const
 
const FR2Vect2TC rotate (T) const
 
T const dot (FR2Vect2TC) const
 
T const cross (FR2Vect2TC) const
 

Public Attributes

x1
 
x2
 

Detailed Description

template<class T>
class Fg::FR2Vect2TC< T >

Definition at line 26 of file vect2.hpp.

Constructor & Destructor Documentation

◆ FR2Vect2TC() [1/4]

template<class T >
Fg::FR2Vect2TC< T >::FR2Vect2TC ( )
inline

Definition at line 32 of file vect2.hpp.

◆ FR2Vect2TC() [2/4]

template<class T >
Fg::FR2Vect2TC< T >::FR2Vect2TC ( a)
inlineexplicit

Definition at line 35 of file vect2.hpp.

◆ FR2Vect2TC() [3/4]

template<class T >
Fg::FR2Vect2TC< T >::FR2Vect2TC ( y1,
y2 
)
inline

Definition at line 36 of file vect2.hpp.

◆ FR2Vect2TC() [4/4]

template<class T >
template<class U >
Fg::FR2Vect2TC< T >::FR2Vect2TC ( const FR2Vect2TC< U > &  v)
inlineexplicit

Definition at line 38 of file vect2.hpp.

Member Function Documentation

◆ cross()

template<class T >
T const Fg::FR2Vect2TC< T >::cross ( FR2Vect2TC< T >  v2) const
inline

Definition at line 181 of file vect2.hpp.

◆ dot()

template<class T >
T const Fg::FR2Vect2TC< T >::dot ( FR2Vect2TC< T >  operand) const
inline

Definition at line 173 of file vect2.hpp.

◆ len()

template<class T >
T const Fg::FR2Vect2TC< T >::len ( ) const
inline

Definition at line 61 of file vect2.hpp.

◆ mag()

template<class T >
T const Fg::FR2Vect2TC< T >::mag ( ) const
inline

Definition at line 62 of file vect2.hpp.

◆ operator!=()

template<class T >
bool Fg::FR2Vect2TC< T >::operator!= ( const FR2Vect2TC< T > &  v) const
inline

Definition at line 57 of file vect2.hpp.

◆ operator*()

template<class T >
const FR2Vect2TC< T > Fg::FR2Vect2TC< T >::operator* ( val) const
inline

Definition at line 138 of file vect2.hpp.

◆ operator*=()

template<class T >
void Fg::FR2Vect2TC< T >::operator*= ( val)
inline

Definition at line 165 of file vect2.hpp.

◆ operator+()

template<class T >
const FR2Vect2TC< T > Fg::FR2Vect2TC< T >::operator+ ( const FR2Vect2TC< T > &  v1) const
inline

Definition at line 104 of file vect2.hpp.

◆ operator+=()

template<class T >
void Fg::FR2Vect2TC< T >::operator+= ( FR2Vect2TC< T >  v)
inline

Definition at line 130 of file vect2.hpp.

◆ operator-() [1/2]

template<class T >
const FR2Vect2TC< T > Fg::FR2Vect2TC< T >::operator-
inline

Definition at line 98 of file vect2.hpp.

◆ operator-() [2/2]

template<class T >
const FR2Vect2TC< T > Fg::FR2Vect2TC< T >::operator- ( const FR2Vect2TC< T > &  v1) const
inline

Definition at line 113 of file vect2.hpp.

◆ operator-=()

template<class T >
void Fg::FR2Vect2TC< T >::operator-= ( FR2Vect2TC< T >  v)
inline

Definition at line 122 of file vect2.hpp.

◆ operator/()

template<class T >
const FR2Vect2TC< T > Fg::FR2Vect2TC< T >::operator/ ( val) const
inline

Definition at line 146 of file vect2.hpp.

◆ operator/=()

template<class T >
void Fg::FR2Vect2TC< T >::operator/= ( val)
inline

Definition at line 156 of file vect2.hpp.

◆ operator==()

template<class T >
bool Fg::FR2Vect2TC< T >::operator== ( const FR2Vect2TC< T > &  v) const
inline

Definition at line 55 of file vect2.hpp.

◆ operator[]() [1/2]

template<class T >
T & Fg::FR2Vect2TC< T >::operator[] ( unsigned int  n)
inline

Definition at line 40 of file vect2.hpp.

◆ operator[]() [2/2]

template<class T >
T const & Fg::FR2Vect2TC< T >::operator[] ( unsigned int  n) const
inline

Definition at line 42 of file vect2.hpp.

◆ set()

template<class T >
void Fg::FR2Vect2TC< T >::set ( a)
inline

Definition at line 45 of file vect2.hpp.

Member Data Documentation

◆ x1

template<class T >
T Fg::FR2Vect2TC< T >::x1

Definition at line 29 of file vect2.hpp.

◆ x2

template<class T >
T Fg::FR2Vect2TC< T >::x2

Definition at line 29 of file vect2.hpp.


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