FINDSPAN Find the span of a B-Spline knot vector at a parametric point
Calling Sequence:
s = findspan(n,p,u,U)
INPUT:
n - number of control points - 1
p - spline degree
u - parametric point
U - knot sequence
OUTPUT:
s - knot span index
Modification of Algorithm A2.1 from 'The NURBS BOOK' pg68
Copyright (C) 2010 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