Curve.CreateInterpolatedCurve creating loops ?

Hi!

I am using Curve.CreateInterpolatedCurve(IEnumerable<Point3d>, int deg) to create a curve between some points. The curves produced seem to have loops between certain points, usually at the beginning or the end (see attached screen cap). 

Can anyone explain why these loops exist and how to prevent them ? 

Thank you!

  • up

    djordje

    Hi Chris,

    Looks like your curve is of higher degree (>3). What curve degree did you use?

    RhinoCommon page for method Curve.CreateInterpolatedCurve recommends degree 3 as the one with which the method works the best.

    2