Curve.CreateTweenCurvesWithMatching Method (Curve, Curve, Int32)

CurveCreateTweenCurvesWithMatching Method (Curve, Curve, Int32)

Creates curves between two open or closed input curves. Make the structure of input curves compatible if needed. Refits the input curves to have the same structure. The resulting curves are usually more complex than input unless input curves are compatible and no refit is needed. There is no matching of curves direction. Caller must match input curves direction before calling the function.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Curve[] CreateTweenCurvesWithMatching(
	Curve curve0,
	Curve curve1,
	int numCurves
)
Public Shared Function CreateTweenCurvesWithMatching ( 
	curve0 As Curve,
	curve1 As Curve,
	numCurves As Integer
) As Curve()

Parameters

curve0
Type: Rhino.GeometryCurve
The first, or starting, curve.
curve1
Type: Rhino.GeometryCurve
The second, or ending, curve.
numCurves
Type: SystemInt32
Number of tween curves to create.

Return Value

Type: Curve
An array of joint curves. This array can be empty.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Obsolete (compiler warning) in 6.8
See Also