API Reference > OdDg Classes > OdDgDimension Class > OdDgDimension Methods > setRotation Method > OdDgDimension::setRotation Method (OdGeMatrix2d&)
OdDgDimension::setRotation Method (OdGeMatrix2d&)
Syntax
C++
virtual void setRotation(const OdGeMatrix2d& quat);

2d rotation uses OdGeMatrix2d and 3d rotation uses OdGeQuaternion, based on the model type (3d or 2d). See Is3D().

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