gp_Trsf - HowTo?

Hello,

at the moment I'm reimplementing "unmatrix" from "Grahics Gems II" as a OCC function:

int MatrixDecompose(Standard_Real MatrixComponents[16], gp_Vec& Rotation,
gp_Vec& Scaling, gp_Vec& Translation,
gp_Vec& Shearing, math_Vector& Perspective);

Now my Question is:
How can I build the rotation and scaling values for OCC?

Best regards,

Patrik Müller

Patrik Mueller's picture

Hello,

I've got it!

Best regards,

Patrik Müller