Sets the direction vector of the ray (DXF 11) in WCS. The initial value is (0,0,1) by default.
The method automatically converts the specified coordinates to a unit vector.
Example of Working with the Ray Object
Specific Ray Properties
OdDbRay::unitDir() method