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

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

Example of Working with the Xline Object 

Specific Infinite Line Properties 

OdDbXline::setUnitDir() method

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