M_Rhino_Geometry_Curve_Rebuild - mcneel/rhinocommon-api-docs GitHub Wiki

Curve.Rebuild Method

Rebuild a curve with a specific point count.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public NurbsCurve Rebuild(
	int pointCount,
	int degree,
	bool preserveTangents
)

VB

Public Function Rebuild ( 
	pointCount As Integer,
	degree As Integer,
	preserveTangents As Boolean
) As NurbsCurve

Parameters

 

pointCount
Type: System.Int32
Number of control points in the rebuild curve.
degree
Type: System.Int32
Degree of curve. Valid values are between and including 1 and 11.
preserveTangents
Type: System.Boolean
If true, the end tangents of the input curve will be preserved.

Return Value

Type: NurbsCurve
A Nurbs curve on success or null on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Curve Class
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️