AcMapQueryPE::transformBy Method

Land Desktop Development ARX CPP SDK

AcMapQueryPE:: transformBy Method
 

Transforms the entity (projection transformation during query and save back, and rubber-sheeting).

virtual Acad::ErrorStatus transformBy(
    AcDbEntity * pEnt, 
    bool bMirror, 
    bool bSimple, 
    Acad::ErrorStatus (*getMatrixInPoint) (AcGeMatrix3d &mat, bool bUniScaleOrtho, const AcGePoint3d &p)
);
Parameters 
Description 
pEnt 
The entity. 
bSimple 
Output true if transformation matrix is constant, and you can call regular transformBy(). 
bMirrow 
Output true if you are rubber-sheeting and you need to swap all angles and bulges. 
getMatrixInPoint 
Callback function to calculate transformation matrix at the specified point. 
mat 
Output the result matrix. 
bUniScaleOrtho 
Output true if you need the matrix to be isUniScaledOrtho() because rubber-sheeting will create a non-orthogonal matrix. 
The point to calculate matrix at. 
Returns

Returns Acad::eOk on success.

Remarks

This is non-linear transformation, where matrix is different in the different points. Default implementation calculates a constant matrix at some middle point on the entity, and calls AcDbEntity::transformBy() with that constant matrix. 

 

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].