API Reference > OdGe Classes > OdGeMatrix2d Class > OdGeMatrix2d Methods > OdGeMatrix2d::setToTranslation Method
OdGeMatrix2d::setToTranslation Method
Syntax
C++
OdGeMatrix2d& setToTranslation(const OdGeVector2d& vect);
Parameters 
Description 
const OdGeVector2d& vect 
[in] Translation vector. 

Sets this matrix to the matrix which translates by vect, and returns a reference to this matrix. 

 

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