Command Line 6.2.9

You are reading an old version of this user guide. The information contained here has been archived and is presented for reference reasons, but it may not be up to date.

3.31. curveInterpolation command

Description: This option allows the user to draw a curve that goes through a set of points by applying polynomial interpolation.

Inline mode usage:

  • curveInterpolation -h: Displays the help file that summarizes the parameters for this command.
  • curveInterpolation–n <name> -d <degree> -p <x y z>: Creates a curve named <name> with degree of the polynomial of <degree> and with points <x y z> used for the interpolation.
  • curveInterpolation–n <name> -p <x y z>: Creates a curve named <name> with degree of the polynomial of 3 and with points <x y z> used for the interpolation.

Interactive mode usage:

  • Invocation: curveInterpolation
  • Parameters:
    • Degree of the curve: degree.
    • The points used for defining the points of interpolation to form a curve. The number of points specified must minimally be (degree + 1) in order for the interpolation algorithm to work. To finish the insertion of points, press Enter.

Example:

> curveInterpolation

Degree [3]: 3 // (3+1) = 4 points required for interpolation to work.

Select curve points [Press Enter when done]

Point 0 [x y z]: 0 0 0

Point 1 [x y z]: 3 3 0

Point 2 [x y z]: 2 5 1

Point 3 [x y z]: 3 1 3

Point 4 [x y z]:

Result:

 

Resulting curve

 

We use cookies on this website to improve your navigation experience on this site. By using this site, you agree to our cookie policy.

I agree