API Reference > OdDb Classes > OdDbEntity Class > OdDbEntity Methods > OdDbEntity::getTransformedCopy Method
OdDbEntity::getTransformedCopy Method
Syntax
C++
ODRX_SEALED_VIRTUAL OdResult getTransformedCopy(const OdGeMatrix3d& xfm, OdDbEntityPtr& pCopy) const;
Parameters 
Description 
const OdGeMatrix3d& xfm 
[in] 3D transformation matrix.  
OdDbEntityPtr& pCopy 
[out] Receives a SmartPointer to the newly created copy. 

Returns eOk if successful, or an appropriate error code if not.

Creates a copy of this entity, and applies the supplied transformation to the newly created copy. 

 

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