A C++ library for 2D NURBS curves. The project includes an example program to demonstrate the library's features.
- Define and evaluate NURBS curves of any order
- Manipulate control points, weights and knot vectors
- Evaluate derivatives, tangents, point projections, curve length, curvature etc.
- Control point and knot insertion, knot refinement, curve splitting
- Piecewise linear representation for drawing
- And more 😄
The example program shows how the library can be integrated with Qt, as well as demonstrating most of the library's features interactively.
- The library requires Eigen 3.3 or higher (https://eigen.tuxfamily.org/)
- The example program is made using Qt5 (https://www.qt.io/download)
git clone https://github.com/romb-technologies/NURBS
mkdir NURBS/build
cd NURBS/build
cmake ..
make
make install
Doxygen is required to build the documentation locally.
- In a terminal inside the project folder, run:
doxygen - Navigate to
docs/htmland openindex.html
Apache License Version 2.0
The example program uses QCustomPlot
Created at Romb Technologies (https://romb-technologies.hr/)
