Hello all
I have two bspline curves as IBSplineCurve_DG. Is there a way to check if they intersect and get the intersection point(s) ?
Thanks in advance
Bspline curves intersection
Re: Bspline curves intersection
Hi Najib
You need to cast IBSplineCurve_DG to ICurve_DG for both and use ICurve_DG.GetIntersection(). If they do not intersect the return will be zero. If they do, the haveTangentialIntersection flag will tell you about tangential intersection.
ICurve_DG.GetIntersection1() gives more information about the later case.
Eric
You need to cast IBSplineCurve_DG to ICurve_DG for both and use ICurve_DG.GetIntersection(). If they do not intersect the return will be zero. If they do, the haveTangentialIntersection flag will tell you about tangential intersection.
ICurve_DG.GetIntersection1() gives more information about the later case.
Eric