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

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

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

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