API Reference > OdGe Classes > OdGeExtents2d Class > OdGeExtents2d Methods > contains Method > OdGeExtents2d::contains Method (OdGeExtents2d&, OdGeTol&)
OdGeExtents2d::contains Method (OdGeExtents2d&, OdGeTol&)
Syntax
C++
bool contains(const OdGeExtents2d& extents, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGeExtents2d& extents 
[in] 2D extents that is tested to be within these extents.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Tolerance of measurement error. 

true if the specified Extents object is completely inside these extents. Otherwise returns false.

Indicates whether this OdGeExtents2d object contains the specified extents. 

 

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