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

Sets this vector to the unit vector codirectional with this vector, and returns a reference to this vector 

 

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

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