API Reference > OdDg Classes > OdDgElement Class > OdDgElement Methods > OdDgElement::getTransformedCopy Method
OdDgElement::getTransformedCopy Method
Syntax
C++
virtual OdResult getTransformedCopy(const OdGeMatrix3d& xfm, OdDgElementPtr& pCopy) const;
Parameters 
Description 
const OdGeMatrix3d& xfm 
[in] 3D transformation matrix.  
OdDgElementPtr& 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 element, and applies the supplied transformation to the newly created copy. 

 

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