NurbsCurve.Reparameterize Method

NurbsCurveReparameterize Method

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)
Syntax
public bool Reparameterize(
	double c
)
Public Function Reparameterize ( 
	c As Double
) As Boolean

Parameters

c
Type: SystemDouble
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.

Return Value

Type: Boolean
true if successful.
Remarks
The cv and knot values are values are changed so that output_nurbs(t) = input_nurbs(lambda(t)).
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also