RhinoCommon API
CurveRebuild Method |
Rebuild a curve with a specific point count.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public NurbsCurve Rebuild( int pointCount, int degree, bool preserveTangents )
Public Function Rebuild ( pointCount As Integer, degree As Integer, preserveTangents As Boolean ) As NurbsCurve
Parameters
- pointCount
- Type: SystemInt32
Number of control points in the rebuild curve. - degree
- Type: SystemInt32
Degree of curve. Valid values are between and including 1 and 11. - preserveTangents
- Type: SystemBoolean
If true, the end tangents of the input curve will be preserved.
Return Value
Type: NurbsCurveA Nurbs curve on success or null on failure.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8