API Reference > OdDb Classes > OdDbXline Class > OdDbXline Methods > OdDbXline::setUnitDir Method
OdDbXline::setUnitDir Method
Syntax
C++
void setUnitDir(const OdGeVector3d& geDirVector);
Parameters 
Description 
const OdGeVector3d& geDirVector 
[in] Three-dimensional vector instance to set the infinity line direction. 

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

 

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

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