Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbRay::setUnitDir Method
Syntax
C++
void setUnitDir(const OdGeVector3d& geDirVector);

Sets the direction vector of the ray (DXF 11) in WCS. The initial value is (0,0,1) by default. 

 

Parameters
Description
geDirVector
[in] Three-dimensional vector instance to set the ray direction.

The method automatically converts the specified coordinates to a unit vector.

Copyright © 2002-2022. Open Design Alliance All rights reserved.