API Reference > Classes > PRC Miscellaneous Classes > OdPrcTransformation2d Class > OdPrcTransformation2d Methods > OdPrcTransformation2d::set Method
OdPrcTransformation2d::set Method
Syntax
C++
OdResult set(const OdGeMatrix2d& geMatrix, const OdGeTol& tol = OdGeContext::gTol);
Parameters 
Description 
const OdGeMatrix2d& geMatrix 
[in] A new matrix to be set.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Tolerance. Default value is equal to OdGeContext::gTol.
 

Returns eOk if a new matrix was successfully applied to the 2D transformation entity or an appropriate error code in the other case.

Sets a new matrix of the 2D transformation. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.