API Reference > OdGe Classes > OdGeVector3d Class > OdGeVector3d Methods > OdGeVector3d::normalizeGetLength Method
OdGeVector3d::normalizeGetLength Method
Syntax
C++
double normalizeGetLength(double tol = 1.e-300);
Parameters 
Description 
double tol = 1.e-300 
[in] Tolerance. 

Vector length prior to normalization. If this.length() <= tol, this vector is unchanged and 0.0 is returned.

Sets this vector to the unit vector codirectional with this vector, and returns the length prior to normalization. 

 

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