API Reference > OdGe Classes > OdGeVector2d Class > OdGeVector2d Methods > OdGeVector2d::normal Method
OdGeVector2d::normal Method
Syntax
C++
OdGeVector2d normal(const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance. 

Returns the unit vector codirectional with this vector. 

 

If the length() <= tol, this vector is returned.

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