OPAL (Object Oriented Parallel Accelerator Library) 2024.2
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

◆ AffineTransformation() [1/2]

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

Definition at line 12 of file AffineTransformation.h.

◆ 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().

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

Here is the call graph for this function:

◆ getInverse()

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:

◆ getOrigin()

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

◆ mult()

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

Definition at line 77 of file AffineTransformation.h.

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

◆ transformFrom()

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

◆ transformTo()

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

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