OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
mslang::AffineTransformation Struct Reference

#include <AffineTransformation.h>

Inherits matrix_t.

Collaboration diagram for mslang::AffineTransformation:

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)

Detailed Description

Definition at line 11 of file AffineTransformation.h.

Constructor & Destructor Documentation

◆ AffineTransformation() [1/2]

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

Definition at line 12 of file AffineTransformation.h.

Referenced by getInverse(), mult(), and transformFrom().

◆ AffineTransformation() [2/2]

mslang::AffineTransformation::AffineTransformation ( )
inline

Definition at line 26 of file AffineTransformation.h.

Member Function Documentation

◆ getAngle()

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

Definition at line 59 of file AffineTransformation.h.

References atan2().

Here is the call graph for this function:

◆ getInverse()

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

Definition at line 39 of file AffineTransformation.h.

References AffineTransformation(), and det().

Referenced by transformFrom().

Here is the call graph for this function:

◆ getOrigin()

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

Definition at line 55 of file AffineTransformation.h.

◆ mult()

AffineTransformation mslang::AffineTransformation::mult ( const AffineTransformation & B)
inline

Definition at line 77 of file AffineTransformation.h.

References AffineTransformation().

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

Here is the call graph for this function:

◆ transformFrom()

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

Definition at line 72 of file AffineTransformation.h.

References AffineTransformation(), getInverse(), and transformTo().

Here is the call graph for this function:

◆ transformTo()

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

Definition at line 63 of file AffineTransformation.h.

Referenced by transformFrom().


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