Search found 1 match
- Mon Nov 11, 2024 3:14 am
- Forum: DG Kernel discussions
- Topic: How to obtain a segment (part) of a curve
- Replies: 2
- Views: 1431
Re: How to obtain a segment (part) of a curve
Try this: Query ICurve_DG from your IBSplineCurve_DG: ICurve_DG curve = theBsplineCurve.As<ICurve_DG>(); Parameters for your intersection points can be obtained with ICurve_DG.GetNearestPoint(PointDg point, out PointDg pointNearest). It returns the parameter. So, you will get paramMin, paramMax. Do ...