API Reference > OdDb Classes > OdDbRay Class > OdDbRay Methods > OdDbRay::unitDir Method
OdDbRay::unitDir Method
Syntax
C++
OdGeVector3d unitDir() const;

Returns the WCS unit direction vector of the ray (DXF 11) as three-dimensional vector instance. This vector orients the ray in would space.

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