We've got a problem with transformation getting mangled somehow when trying to mirror objects. We are reading data from a STEP model file, and applying the relevant rotate/mirror/shift elements of transformation to apply the shapes in the model to the components on our design. It all works fine for unmirrored items, but when we apply mirroring to the gp_Trsf transform it seems to wipe out the rotation. If we re-order the r/m/s to be s/m/r, we get the correct rotation but wrong shift and only one item is mirrored.
Our code is roughly like this:
//....read stuff from STEP file, then.....
CPoint SymPos = SymbolCentre;
//....now draw the shape....
As our unmirrored items work, it seems that SetTranslationPart isn't interfering with the Angle we've applied, but Mirror certainly does seem to reset the Angle.
We're continuing to delve in the sample code etc to work out what we're doing wrong, but any clues would be gratefully received!