API Reference > OdGe Classes > OdGeEntity2d Class > OdGeEntity2d Methods > OdGeEntity2d::isEqualTo Method
OdGeEntity2d::isEqualTo Method
Syntax
C++
bool isEqualTo(const OdGeEntity2d& other, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGeEntity2d& other 
[in] Entity to be compared  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance. 

Returns true if the specified entity is equal to this one.

Returns true if and only if both entities are of the same type, have the same point set within the specified tolerance, and have the same parameterization. 

 

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