API Reference > OdDb Classes > OdDbLine Class > OdDbLine Methods > OdDbLine::setNormal Method
OdDbLine::setNormal Method
Syntax
C++
void setNormal(const OdGeVector3d& geVector);
Parameters 
Description 
const OdGeVector3d& geVector 
[in] Three-dimensional vector instance to set the normal. 

Sets the WCS normal to the plane of the line entity (DXF 210). The normal defines the orientation of the line plane in world space. The initial value is (0,0,1) by default. 

 

This method automatically converts the specified vector to the unit vector.

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