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

#include <AffineTransformation.h>

Inherits matrix_t.

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

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 26 of file AffineTransformation.h.

Member Function Documentation

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

Definition at line 59 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 39 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 77 of file AffineTransformation.h.

References prod().

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 63 of file AffineTransformation.h.

References prod().

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: