KNTBRKDEGREG: Construct an open knot vector by giving the sequence of
                knots, the degree and the regularity.

   knots = kntbrkdegreg (breaks, degree)
   knots = kntbrkdegreg (breaks, degree, regularity)

 INPUT:

     breaks:     sequence of knots.
     degree:     polynomial degree of the splines associated to the knot vector.
     regularity: splines regularity.

 OUTPUT:

     knots:  knot vector.

 If REGULARITY has as many entries as BREAKS, or as the number of interior
   knots, a different regularity will be assigned to each knot. If
   REGULARITY is not present, it will be taken equal to DEGREE-1.

 Copyright (C) 2010 Carlo de Falco, 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