gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
affineTransformation.cpp File Reference
#include <cmath>
#include <vector>
#include "fullMatrix.h"
Include dependency graph for affineTransformation.cpp:

Go to the source code of this file.

Functions

template<class FLOAT >
bool computeAffineTransformation (const FLOAT *rc, const FLOAT *ra, const FLOAT *tr, std::vector< double > &tfo)
 
template bool computeAffineTransformation (const float *rc, const float *ra, const float *tr, std::vector< double > &tfo)
 
template bool computeAffineTransformation (const double *rc, const double *ra, const double *tr, std::vector< double > &tfo)
 
template<class FLOAT >
bool getAffineTransformationParameters (const std::vector< double > &tfo, FLOAT *rc, FLOAT *ra, FLOAT *tr)
 
template bool getAffineTransformationParameters (const std::vector< double > &tfo, float *rc, float *ra, float *tr)
 
template bool getAffineTransformationParameters (const std::vector< double > &tfo, double *rc, double *ra, double *tr)
 
bool invertAffineTransformation (const std::vector< double > &tfo, std::vector< double > &newTfo)
 
bool setUnitAffineTransformation (std::vector< double > &tfo)
 

Function Documentation

◆ computeAffineTransformation() [1/3]

template bool computeAffineTransformation ( const double *  rc,
const double *  ra,
const double *  tr,
std::vector< double > &  tfo 
)

◆ computeAffineTransformation() [2/3]

template<class FLOAT >
bool computeAffineTransformation ( const FLOAT *  rc,
const FLOAT *  ra,
const FLOAT *  tr,
std::vector< double > &  tfo 
)

Definition at line 14 of file affineTransformation.cpp.

Here is the call graph for this function:

◆ computeAffineTransformation() [3/3]

template bool computeAffineTransformation ( const float *  rc,
const float *  ra,
const float *  tr,
std::vector< double > &  tfo 
)

◆ getAffineTransformationParameters() [1/3]

template bool getAffineTransformationParameters ( const std::vector< double > &  tfo,
double *  rc,
double *  ra,
double *  tr 
)

◆ getAffineTransformationParameters() [2/3]

template<class FLOAT >
bool getAffineTransformationParameters ( const std::vector< double > &  tfo,
FLOAT *  rc,
FLOAT *  ra,
FLOAT *  tr 
)

Definition at line 75 of file affineTransformation.cpp.

◆ getAffineTransformationParameters() [3/3]

template bool getAffineTransformationParameters ( const std::vector< double > &  tfo,
float *  rc,
float *  ra,
float *  tr 
)

◆ invertAffineTransformation()

bool invertAffineTransformation ( const std::vector< double > &  tfo,
std::vector< double > &  newTfo 
)

Definition at line 98 of file affineTransformation.cpp.

Referenced by GEntity::updateCorrespondingVertices().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setUnitAffineTransformation()

bool setUnitAffineTransformation ( std::vector< double > &  tfo)

Definition at line 111 of file affineTransformation.cpp.