API Reference > OdDb Classes > OdDb3dSolid Class > OdDb3dSolid Methods > OdDb3dSolid::transformFaces Method
OdDb3dSolid::transformFaces Method
Syntax
C++
virtual OdResult transformFaces(const OdArray<OdDbSubentId *> & faceSubentIds, const OdGeMatrix3d & matrix);
Parameters 
Description 
const OdArray<OdDbSubentId *> & faceSubentIds 
[in] Array of faces' subentity IDs. Faces with specified IDs will be transformed.  
const OdGeMatrix3d & matrix 
[in] Transformation matrix to be applied to the specified faces.
 

Returns eOk if successful or an appropriate error code in other case.

Transforms the specified faces of a solid by applying the transformation matrix for rotation and (or) moving the faces. 

 

Transformation faces can cause the solid to become invalid in some cases. 

This method is implemented only for Spatial modeler and returns eNotImplementedYet status for other modelers.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.