API Reference > OdGe Classes > OdGeEntity2d Class > OdGeEntity2d Methods > OdGeEntity2d::translateBy Method
OdGeEntity2d::translateBy Method
Syntax
C++
OdGeEntity2d& translateBy(const OdGeVector2d& translateVec);
Parameters 
Description 
const OdGeVector2d& translateVec 
[in] Translation Vector. 

Applies the 2D translation vector to this entity, and returns a reference to this entity. 

 

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