NRBNUMBASISFUN:  Numbering of basis functions for NURBS

 Calling Sequence:
 
   N      = nrbnumbasisfun (u, crv)
   N      = nrbnumbasisfun ({u, v}, srf)
   N      = nrbnumbasisfun (p, srf)
   N      = nrbnumbasisfun ({u, v, w}, vol)
   N      = nrbnumbasisfun (p, vol)

    INPUT:
   
      u or p(1,:,:)  - parametric points along u direction
      v or p(2,:,:)  - parametric points along v direction
      w or p(3,:,:)  - parametric points along w direction
      crv - NURBS curve
      srf - NURBS surface
      vol - NURBS volume
   
    OUTPUT:

      N - Indices of the basis functions that are nonvanishing at each
          point. size(N) == [npts, prod(nrb.order)]

    Copyright (C) 2009 Carlo de Falco
    Copyright (C) 2016 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