API Reference > FacetModeler Namespace > Classes > Segment2D Class > Segment2D Methods > intersect Method > Segment2D::intersect Method (IBulgeSeg2D&, Intersection*, Intersection*, OdGeTol&)
Segment2D::intersect Method (IBulgeSeg2D&, Intersection*, Intersection*, OdGeTol&)
Syntax
C++
OdUInt32 intersect(const IBulgeSeg2D& rSegB, Intersection* pInt1 = NULL, Intersection* pInt2 = NULL, const OdGeTol& gTol = FMGeGbl::gTol) const;
Parameters 
Description 
const IBulgeSeg2D& rSegB 
[in] Segment to check for intersections with.  
Intersection* pInt1 = NULL 
[out] (Optional) First intersection object.  
Intersection* pInt2 = NULL 
[out] (Optional) Second intersection object.  
const OdGeTol& gTol = FMGeGbl::gTol 
[in] Tolerance.  

The number of intersection points.

Gets the number of intersections with the specified segment. 

 

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