CurveCreateInterpolatedCurve Method (IEnumerablePoint3d, Int32, CurveKnotStyle)
Interpolates a sequence of points. Used by InterpCurve Command
This routine works best when degree=3.
RhinoCommon (in RhinoCommon.dll)
public static Curve CreateInterpolatedCurve(
Public Shared Function CreateInterpolatedCurve (
points As IEnumerable(Of Point3d),
degree As Integer,
knots As CurveKnotStyle
) As Curve
- Type: System.Collections.GenericIEnumerablePoint3d
Points to interpolate. For periodic curves if the final point is a
duplicate of the initial point it is ignored. (Count must be >=2)
- Type: SystemInt32
The degree of the curve >=1. Degree must be odd.
- Type: Rhino.GeometryCurveKnotStyle
Knot-style to use and specifies if the curve should be periodic.
interpolated curve on success. null on failure.