API Reference > Other Classes > OdModelerTools Class > OdModelerTools Methods > OdModelerTools::cloneAndXform Method
OdModelerTools::cloneAndXform Method
Syntax
C++
virtual OdResult cloneAndXform(const OdModelerGeometry& srcModeler, const OdGeMatrix3d& mtx, OdModelerGeometryPtr& pCloneModeler) = 0;
Parameters 
Description 
const OdModelerGeometry& srcModeler 
[in] The modeler geometry object.  
const OdGeMatrix3d& mtx 
[in] Additional transformation.  
OdModelerGeometryPtr& pCloneModeler 
[out] Cloned and transformed modeler geometry object.  

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

Copies given modeler geometry object and transform copy by passed matrix. 

 

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