Hello guys,

Here is my problem:I use “Rhino.Geometry.Intersect.Intersection.CurveLine(Crv,Line,tolerance,overlapTolerance)” to find the intersected points between a curve and a line.if the input line is a single one,the point order is normal.But if a list of lines,the order is abnormal.I do not know how to figure it out.Please help me to get the surposed points order.

Best Regards.

My codes and screenshots are below:

input parameters:Line Line0, Line Line1, Polyline BasePolyline

`List<Line> Lines = new List<Line>(){Line0,Line1}; NurbsCurve CrvBP = BasePolyline.ToNurbsCurve(); List < Point3d > LptsA = new List<Point3d>(){}; for(int i = 0;i < Lines.Count;i++) { Line iLine = Lines[i]; var events = Rhino.Geometry.Intersect.Intersection.CurveLine(CrvBP, iLine, 0.01, 0.01); for(int j = 0;j < events.Count;j++) { var ccx_ets = events[j]; LptsA.Add(ccx_ets.PointA); } } A = LptsA;`

The fact confused me is that the points order is normal in some cases like below: