NurbsCurveCreateSubDFriendly Method (Curve, Int32, Boolean)
Create a NURBS curve, that is suitable for calculations like lofting SubD objects, from an existing curve.
RhinoCommon (in RhinoCommon.dll)
public static NurbsCurve CreateSubDFriendly(
Public Shared Function CreateSubDFriendly (
curve As Curve,
pointCount As Integer,
periodicClosedCurve As Boolean
) As NurbsCurve
- 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.
A SubD friendly NURBS curve is successful, null otherwise.