NRBCLAMP: Compute the knot vector and control points of the clamped curve/surface.

 Calling Sequence:
 
   ccrv = nrbrclamp (crv)
   ccrv = nrbrclamp (crv, k)
   ccrv = nrbrclamp (crv, k, dim)
 
 INPUT:
 
   crv	: unclamped NURBS curve or surface, see nrbmak.
   k   : continuity desired afterclamping (from -1 up to p-1, -1 by default)
   dim : dimension in which to clamp (all by default).

 OUTPUT:
 
   ccrv: NURBS curve with clamped knot vector, see nrbmak
 
 Description:
 
   Clamps a curve or surface, using an open knot vector. Computes the new
     knot vector and control points by knot insertion.
 
    Copyright (C) 2016 Monica Montardini, Filippo Remonato, Rafael Vazquez

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

Package: nurbs