API Reference > OdGe Classes > OdGeExtents2d Class > OdGeExtents2d Methods > OdGeExtents2d::isEqualTo Method
OdGeExtents2d::isEqualTo Method
Syntax
C++
bool isEqualTo(const OdGeExtents2d& extents, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGeExtents2d& extents 
[in] A 2D Extents object to be tested for equality.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance. 

true if the points match within the range specified by tolerance, otherwise returns false.

Checks if this OdGeExtents2d object is equal to the passed extents. 

 

This method compares this object to the passed object by testing the equivalence of their definition points.

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