RhinoCommon API
NurbsCurveMakePiecewiseBezier Method |
Clamps ends and adds knots so the NURBS curve has Bezier spans
(all distinct knots have multiplicity = degree).
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0
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 re-parameterized so that the end weights are one.
Return Value
Type: Booleantrue on success, false on failure.