API Reference > Namespaces > OdSi Namespace > Classes > Extent3d Class > Extent3d Methods > intersects Method > Extent3d::intersects Method (double, int, double)
Extent3d::intersects Method (double, int, double)
Syntax
C++
IntersectResult intersects(double coordinate, int dimension, double tol = OdGeContext::gTol.equalPoint()) const;
Parameters 
Description 
double coordinate 
[in] Coordinate to test.  
int dimension 
[in] X, Y, or Z.  
double tol = OdGeContext::gTol.equalPoint() 
[in] Tolerance. 

Returns the intersection with this Extents object. 

 

intersects() returns one of the following. 

 

Name 
Value 
Description 
left 
coordinate is to the left of this Extents object. 
upon 
coordinate is upon this Extents object. 
right 
coordinate is to the right of this Extents object. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.