API Reference > OdDb Classes > OdDbSurface Class > OdDbSurface Methods > OdDbSurface::subGetTransformedCopy Method
OdDbSurface::subGetTransformedCopy Method
Syntax
C++
virtual OdResult subGetTransformedCopy(const OdGeMatrix3d& mat, OdDbEntityPtr& pCopy) const;
Parameters 
Description 
const OdGeMatrix3d& mat 
[in] Transformation matrix to apply to the copied object.  
OdDbEntityPtr& pCopy 
[out] Receives the transformed copy of this surface.
 

eOk if the operation completed successfully or an appropriate error code otherwise.

Retrieves the copied version of this surface transformed by the specified transformation matrix. 

 

If the operation is unsuccessful the value of pCopy will be NULL.

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