API Reference > Namespaces > OdSi Namespace > Classes > BBox Class > BBox Methods > BBox::contains Method
BBox::contains Method
Syntax
C++
virtual bool contains(const OdGeExtents3d& extents, bool planar = false, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGeExtents3d& extents 
[in] Any 3D extents box.  
bool planar = false 
[in] If and only if true, a planar computation is made. 

Returns true if and only if this Shape object contains the specfied extents. 

 

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