API Reference > OdGe Classes > OdGeVector2d Class > OdGeVector2d Methods > OdGeVector2d::isZeroLength Method
OdGeVector2d::isZeroLength Method
Syntax
C++
bool isZeroLength(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 0.0 within the specified tolerance. 

 

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