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.

Example of Working with the Line Object 

Specific Line Properties 

OdDbLine::normal() method

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