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

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.