Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
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. 

 

Parameters
Description
tol
[in] Tolerance.

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

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