M_Rhino_Geometry_NurbsCurve_MakePiecewiseBezier - mcneel/rhinocommon-api-docs GitHub Wiki

NurbsCurve.MakePiecewiseBezier Method

Clamps ends and adds knots so the NURBS curve has bezier spans (all distinct knots have multiplitity = degree).

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

Syntax

C#

public bool MakePiecewiseBezier(
	bool setEndWeightsToOne
)

VB

Public Function MakePiecewiseBezier ( 
	setEndWeightsToOne As Boolean
) As Boolean

Parameters

 

setEndWeightsToOne
Type: System.Boolean
If true and the first or last weight is not one, then the first and last spans are reparameterized so that the end weights are one.

Return Value

Type: Boolean
true on success, false on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

NurbsCurve Class
Rhino.Geometry Namespace

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