API Reference > OdGe Classes > OdGeNurbCurve2d Class > OdGeNurbCurve2d Methods > OdGeNurbCurve2d::intersectWith Method
OdGeNurbCurve2d::intersectWith Method
Syntax
C++
bool intersectWith(const OdGeLine2d & line2d, OdGePoint2dArray & pnts2d, const OdGeTol& tol = OdGeContext::gTol, OdGeDoubleArray * params = NULL) const;
Parameters 
Description 
const OdGeLine2d & line2d 
[in] 2D linear entity that intersects with this nurb curve.  
OdGePoint2dArray & pnts2d 
[out] Receives an array of 2D points.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance.  
OdGeDoubleArray * params = NULL 
[out] Receives an array of parameters. 

true if and only if this spline intersects with the specified linear entity.

Retrieves the intersection points as well as the parameters of this spline said points. 

 

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