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. 

Checks if this Extents object is equal to the passed Extents object. 

 

This method compares this object to the passed object by testing the equivalence of their definition points. If the points match within the range specified by tolerance, this method returns true. Otherwise, it returns false.

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