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

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.