API Reference > OdSi Classes > OdSiShape Structure > OdSiShape Methods > OdSiShape::contains Method
OdSiShape::contains Method
Syntax
C++
virtual bool contains(const OdGeExtents3d& extents, bool planar, const OdGeTol& tol = OdGeContext::gTol) const = 0;
Parameters 
Description 
const OdGeExtents3d& extents 
[in] Any 3D extents box.  
bool planar 
[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.