API Reference > OdBr Classes > OdBrElement2d Class > OdBrElement2d Methods > OdBrElement2d::getNormal Method
OdBrElement2d::getNormal Method
Syntax
C++
OdBrErrorStatus getNormal(OdGeVector3d& normal) const;
Parameters 
Description 
OdGeVector3d& normal 
[out] Normal vector. 

Returns the normal vector of normalized model space. The vector is computed on the plane that is defined by the nodes of element traversed in a clockwise direction. 

 

In case of an error, the value of the normal vector passed as an argument is unchanged.

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