M_Rhino_Geometry_NurbsCurve_MakePiecewiseBezier - mcneel/rhinocommon-api-docs GitHub Wiki
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
C#
public bool MakePiecewiseBezier(
bool setEndWeightsToOne
)
VB
Public Function MakePiecewiseBezier (
setEndWeightsToOne As Boolean
) As Boolean
- 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.
Type: Boolean
true on success, false on failure.
Supported in: 6.0.16224.21491, 5D58w