NURBS

Converted NURBS toolbox
9.6K Downloads
Updated 14 Mar 2007

No License

The NURBS toolbox, created by Mark Spink, is a very useful tool. However, some of the routines were written in C. This is not necessarily a bad thing as long as you know how to compile them to mex files for your machine. If you don't want to mess with mex files, or you want to be able to edit the code and don't know anything about C, I've rewritten the C code in MATLAB. You can find the original toolbox at
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=312&objectType=file

The included files replace the following mex files with the m-file equivalent.

basisfun
bspeval
bspdegelev
bspderiv
bspkntins
findspan

In addition, I've included the translated C code in the comments, line for line.

This does not include every file in the NURBS toolbox, just the mex files. You will still want to download the toolbox and replace the mex files with the included files.

Cite As

Daniel Claxton (2024). NURBS (https://www.mathworks.com/matlabcentral/fileexchange/14247-nurbs), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: NURBS Toolbox by D.M. Spink

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0