Click or drag to resize

NurbsCurveCreateSubDFriendly Method (Curve, Int32, Boolean)

Create a NURBS curve, that is suitable for calculations like lofting SubD objects, from an existing curve.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.0
public static NurbsCurve CreateSubDFriendly(
	Curve curve,
	int pointCount,
	bool periodicClosedCurve


Type: Rhino.GeometryCurve
Curve to rebuild as a SubD friendly curve.
Type: SystemInt32
Desired number of control points. If periodicClosedCurve is true, the number must be >= 6, otherwise the number must be >= 4.
Type: SystemBoolean
True if the SubD friendly curve should be closed and periodic. False in all other cases.

Return Value

Type: NurbsCurve
A SubD friendly NURBS curve is successful, null otherwise.
See Also