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

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

 

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