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

Returns true if and only if the length of this vector is 1.0 within the specified tolerance. 

 

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