M_Rhino_Geometry_NurbsCurve_Reparameterize - mcneel/rhinocommon-api-docs GitHub Wiki

NurbsCurve.Reparameterize 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) Version: Rhino 6.0

Syntax

C#

public bool Reparameterize(
	double c
)

VB

Public Function Reparameterize ( 
	c As Double
) As Boolean

Parameters

 

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.

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

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

NurbsCurve Class
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️