Message 1 of 5
Cannot get intersection points for spline (with 'Intersect.ExtendThis') to boundary curve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello every body, I have a question.
I want to find the intersection points between spline and boundary like below .
In my code , i use 'Intersect.ExtendThis' , but it return no intersection points.
I tried to change it to 'Intersect.ExtendBoth' but it didn't work.
If i change curve to extend to another type of curve like arc or line or polyline . The function worked well.
I don't know why using with spline this problem is came out and how to fix this.
Thanks in advance !
//Check intersection with extending member curve :
memCurv.IntersectWith(boCurv, Intersect.ExtendThis , intPnts, IntPtr.Zero, IntPtr.Zero);
if (intPnts.Count == 0)
//Skip to next entity :
continue;
else
//Call extend SubFunction :
CmdTE_ExtendCurves(ed, tr, boCurv, memCurv, intPnts, stdPnt);