API Reference > OdGe Classes > OdGeVector2d Class > OdGeVector2d Methods > isCodirectionalTo Method > OdGeVector2d::isCodirectionalTo Method (OdGeVector2d&, OdGeTol&)
OdGeVector2d::isCodirectionalTo Method (OdGeVector2d&, OdGeTol&)
Syntax
C++
bool isCodirectionalTo(const OdGeVector2d& vect, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGeVector2d& vect 
[in] Any 2D vector that is checked to be codirectional with this vector.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance. 

Returns true if and only if the specified vector is codirectional to this vector within the specified tolerance. 

 

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