M_Rhino_Geometry_NurbsCurve_Reparameterize - mcneel/rhinocommon-api-docs GitHub Wiki
Use a linear fractional transformation to reparameterize the NURBS curve. This does not change the curve's domain.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public bool Reparameterize(
double c
)
VB
Public Function Reparameterize (
c As Double
) As Boolean
- c
- Type: System.Double
reparameterization constant (generally speaking, c should be > 0). The control points and knots are adjusted so that output_nurbs(t) = input_nurbs(lambda(t)), where lambda(t) = c*t/( (c-1)*t + 1 ). Note that lambda(0) = 0, lambda(1) = 1, lambda'(t) > 0, lambda'(0) = c and lambda'(1) = 1/c.
Type: Boolean
true if successful.
The cv and knot values are values are changed so that output_nurbs(t) = input_nurbs(lambda(t)).
Supported in: 6.0.16224.21491, 5D58w