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.

Example of Working with the Ray Object 

Specific Ray Properties 

OdDbRay::setUnitDir() method

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