API Reference > Namespaces > OdSi Namespace > Classes > Extent3d Class > Extent3d Methods > intersects Method > Extent3d::intersects Method (OdGeExtents3d&, bool, OdGeTol&)
Extent3d::intersects Method (OdGeExtents3d&, bool, OdGeTol&)
Syntax
C++
virtual bool intersects(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.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Tolerance. 

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

 

intersects() returns one of the following. 

 

Name 
Value 
Description 
true 
.. 
The specified extents intersect this Extents object. 
false 
.. 
The specified extents do not intersect this Extents object. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.