RhinoCommon API
NurbsCurveMakePiecewiseBezier 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)

public bool MakePiecewiseBezier( bool setEndWeightsToOne )
Public Function MakePiecewiseBezier ( setEndWeightsToOne As Boolean ) As Boolean
Parameters
- setEndWeightsToOne
- Type: SystemBoolean
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: Booleantrue on success, false on failure.

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