Spline, B-Spline and NURBS C++ library

后端 未结 7 2457
太阳男子
太阳男子 2020-12-14 10:58

Does anyone know of a library or set of classes for splines - specifically b-splines and NURBS (optional).

A fast, efficient b-spline library would be so useful for

7条回答
  •  旧巷少年郎
    2020-12-14 11:14

    An excellent library that is also supplemented by an online book is from MIT. Here is the (hyper)book http://web.mit.edu/hyperbook/Patrikalakis-Maekawa-Cho/mathe.html

    and in the bottom of the link you will find the related software, here: http://web.mit.edu/hyperbook/Patrikalakis-Maekawa-Cho/software.html

    GSL has a nice very basic b-spline implementation, but it does not include NURBS curves neither algorithms for inserting/removing knots, or several more advanced things. You can also find many useful algorithms that you can compile in your own language in the book, "The NURBS book", Piegl & Tiller, this one: http://www.amazon.com/NURBS-Book-Monographs-Visual-Communication/dp/3540615458

    Numerical Recipes do not include support for b-splines.

提交回复
热议问题