Curve.CreateInterpolatedCurve Method (IEnumerable(Point3d), Int32)

CurveCreateInterpolatedCurve Method (IEnumerablePoint3d, Int32)

Interpolates a sequence of points. Used by InterpCurve Command This routine works best when degree=3.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public static Curve CreateInterpolatedCurve(
	IEnumerable<Point3d> points,
	int degree
)
Public Shared Function CreateInterpolatedCurve ( 
	points As IEnumerable(Of Point3d),
	degree As Integer
) As Curve

Parameters

points
Type: System.Collections.GenericIEnumerablePoint3d
Points to interpolate (Count must be >= 2)
degree
Type: SystemInt32
The degree of the curve >=1. Degree must be odd.

Return Value

Type: Curve
interpolated curve on success. null on failure.
See Also