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] A 2D Extents object that is tested to be within this extents.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Tolerance of measurement error. 

Returns true if the specified Extents object is completely inside this Extents object. Otherwise returns false.

Indicates whether this Extents object contains the specified Extents object. 

 

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