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

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

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