API Reference > OdGe Classes > OdGeMatrix2d Class > OdGeMatrix2d Methods > OdGeMatrix2d::preMultBy Method
OdGeMatrix2d::preMultBy Method
Syntax
C++
OdGeMatrix2d& preMultBy(const OdGeMatrix2d& leftSide);
Parameters 
Description 
const OdGeMatrix2d& leftSide 
[in] 2D matrix that will be multiplied with this matrix. 

Sets this matrix to the product leftSide * (this matrix), and returns a reference to this matrix. 

 

Note that when multiplying matrices, the order matters. This method provides different results than postMultBy even with the same parameters.

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