RhinoCommon API

## NurbsCurveCreateSubDFriendly Method (IEnumerablePoint3d, Boolean, Boolean) |

Create a NURBS curve, that is suitable for calculations like lofting SubD objects, through a sequence of curves.

Syntax

public static NurbsCurve CreateSubDFriendly( IEnumerable<Point3d> points, bool interpolatePoints, bool periodicClosedCurve )

- points
- Type: System.Collections.GenericIEnumerablePoint3d

An enumeration of points. Adjacent points must not be equal. If periodicClosedCurve is false, there must be at least two points. If periodicClosedCurve is true, there must be at least three points and it is not necessary to duplicate the first and last points. When periodicClosedCurve is true and the first and last points are equal, the duplicate last point is automatically ignored. - interpolatePoints
- Type: SystemBoolean

True if the curve should interpolate the points. False if points specify control point locations. In either case, the curve will begin at the first point and end at the last point. - periodicClosedCurve
- Type: SystemBoolean

True to create a periodic closed curve. Do not duplicate the start/end point in the point input.

A SubD friendly NURBS curve is successful, null otherwise.

See Also