OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | List of all members
mslang::AffineTransformation Struct Reference

#include <AffineTransformation.h>

Inheritance diagram for mslang::AffineTransformation:
Inheritance graph
[legend]
Collaboration diagram for mslang::AffineTransformation:
Collaboration graph
[legend]

Public Member Functions

 AffineTransformation (const Vector_t &row0, const Vector_t &row1)
 
 AffineTransformation ()
 
AffineTransformation getInverse () const
 
Vector_t getOrigin () const
 
double getAngle () const
 
Vector_t transformTo (const Vector_t &v) const
 
Vector_t transformFrom (const Vector_t &v) const
 
AffineTransformation mult (const AffineTransformation &B)
 
- Public Member Functions inherited from Tenzor< double, 3 >
 Tenzor ()
 
 Tenzor (DontInitialize)
 
 Tenzor (const Tenzor< T, D > &rhs)
 
 Tenzor (const T &x00)
 
 Tenzor (const T &x00, const T &x10, const T &x01, const T &x11)
 
 Tenzor (const T &x00, const T &x10, const T &x20, const T &x01, const T &x11, const T &x21, const T &x02, const T &x12, const T &x22)
 
 Tenzor (const SymTenzor< T, D > &)
 
 Tenzor (const AntiSymTenzor< T, D > &)
 
 ~Tenzor ()
 
const Tenzor< T, D > & operator= (const Tenzor< T, D > &rhs)
 
const Tenzor< T, D > & operator= (const Tenzor< T1, D > &rhs)
 
const Tenzor< T, D > & operator= (const T &rhs)
 
Tenzor< T, D > & operator+= (const Tenzor< T1, D > &rhs)
 
Tenzor< T, D > & operator+= (const T &rhs)
 
Tenzor< T, D > & operator-= (const Tenzor< T1, D > &rhs)
 
Tenzor< T, D > & operator-= (const T &rhs)
 
Tenzor< T, D > & operator*= (const Tenzor< T1, D > &rhs)
 
Tenzor< T, D > & operator*= (const T &rhs)
 
Tenzor< T, D > & operator/= (const Tenzor< T1, D > &rhs)
 
Tenzor< T, D > & operator/= (const T &rhs)
 
void diagonal (const T &rhs)
 
int len (void) const
 
int size (void) const
 
Element_toperator[] (unsigned int i)
 
Element_t operator[] (unsigned int i) const
 
Element_toperator() (unsigned int i)
 
Element_t operator() (unsigned int i) const
 
Element_t operator() (unsigned int i, unsigned int j) const
 
Element_toperator() (unsigned int i, unsigned int j)
 
Element_t operator() (const std::pair< int, int > i) const
 
Element_toperator() (const std::pair< int, int > i)
 
bool operator== (const Tenzor< T, D > &that) const
 
bool operator!= (const Tenzor< T, D > &that) const
 
MessageputMessage (Message &m) const
 
MessagegetMessage (Message &m)
 

Additional Inherited Members

- Public Types inherited from Tenzor< double, 3 >
enum  
 
enum  
 
typedef T Element_t
 

Detailed Description

Definition at line 11 of file AffineTransformation.h.

Constructor & Destructor Documentation

mslang::AffineTransformation::AffineTransformation ( const Vector_t row0,
const Vector_t row1 
)
inline

Definition at line 12 of file AffineTransformation.h.

mslang::AffineTransformation::AffineTransformation ( )
inline

Definition at line 17 of file AffineTransformation.h.

Member Function Documentation

double mslang::AffineTransformation::getAngle ( ) const
inline

Definition at line 40 of file AffineTransformation.h.

References atan2().

Referenced by mslang::Triangle::print(), mslang::Ellipse::print(), and mslang::Rectangle::print().

Here is the call graph for this function:

AffineTransformation mslang::AffineTransformation::getInverse ( ) const
inline

Definition at line 20 of file AffineTransformation.h.

References det().

Referenced by transformFrom().

Here is the call graph for this function:

Vector_t mslang::AffineTransformation::getOrigin ( ) const
inline
AffineTransformation mslang::AffineTransformation::mult ( const AffineTransformation B)
inline

Definition at line 57 of file AffineTransformation.h.

References dot().

Referenced by mslang::Repeat::apply().

Here is the call graph for this function:

Vector_t mslang::AffineTransformation::transformFrom ( const Vector_t v) const
inline
Vector_t mslang::AffineTransformation::transformTo ( const Vector_t v) const
inline

Definition at line 44 of file AffineTransformation.h.

References dot().

Referenced by mslang::Rectangle::isInside(), mslang::Triangle::isInside(), mslang::Ellipse::isInside(), and transformFrom().

Here is the call graph for this function:


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