Next: , Previous: , Up: Internal Routines   [Contents][Index]


15.5.636 tense_loop

tense_loop(x, y, xf [, tension])

Interpolates closed curves using splines under tension, and returns a 2d array containing the x and y coordinates of the interpolated points. The input points have coordinates (x, y) (arrays). The interpolation is performed at points determined by the fraction of curve length from the start, xf, which ranges between 0 and 1. tension governs the tenseness of the interpolation curve. It defaults to 1 and must not be smaller.

See also: tense, tense_curve