API Reference > FacetModeler Namespace > Classes > Segment2D Class > Segment2D Methods > intersect Method > Segment2D::intersect Method (IBulgeSeg2D&, OdGePoint2d*, OdGePoint2d*, OdGeTol&)
Segment2D::intersect Method (IBulgeSeg2D&, OdGePoint2d*, OdGePoint2d*, OdGeTol&)
Syntax
C++
OdUInt32 intersect(const IBulgeSeg2D& rSegB, OdGePoint2d* pPt1, OdGePoint2d* pPt2 = NULL, const OdGeTol& gTol = FMGeGbl::gTol) const;
Parameters 
Description 
const IBulgeSeg2D& rSegB 
[in] Segment to check for intersections with.  
OdGePoint2d* pPt1 
[out] (Optional) First intersection point.  
OdGePoint2d* pPt2 = NULL 
[out] (Optional) Second intersection point.  
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.