OM-SPLINE

[GENERIC-FUNCTION]


OM 6.1
Function Reference
ARGUMENTS:
  - self a BPF or BPC  
  - resolution number of points [default = 100]
  - degree interpolation degree [default = 3]

Description:

Computes a B-Spline curve from the points in the BPF or BPC.

B-Splines are smoothed curves where each point is computed by polynomial interpolation from a set of control points.

Returned values :
- The result as an object (BPF or BPC) (1st output)
- The list of x points (2nd output)
- The list of sample values (3rd output)

<resolution> is the number of points in the resulting curve
<degree> is the degree of the polynomial interpolation. higher degrees give smoother curves

Note that splines are supposed to be computed from BPFs with reltively few control points.