LNLib is a C++ NURBS Basic Algorithm Library.
These algorithms are primary referenced from The NURBS Book 2nd Edition.
The APIs are re-designed to make it more friendly to users.
Basic Elements:
- UV
- XYZ
- XYZW
- Matrix4d
NURBS Algorithms:
- Basis Function Computation
- Bezier/B-Spline/NURBS Curve and Surface
- Curve and Surface Decomposition
- Knot Insertion and Removal
- Knot Refinement
- Degree Elevation and Reduction
- Point and Tangent Inversion
- Curve and Surface Reverse
- Curve Transform
- Create Arc and Conic Curve
- Create Bilinear/Cylindrical/Ruled/Revolved Surface
- Global/Local Curve/Surface Interpolation & Approximation
This library is under development.
- Algorithms of Chapter 10 & 11 in The NURBS Book 2nd Edition
- Other Common NURBS algorithms
Welcome join this project including discussions in Issues and make Pull requests.
LNLib is created by Yuqing Liang (BIMCoder Liang).
- [email protected]
- 微信公众号:BIMCoder梁老师
The source code is published under GNU General Public License v3.0, the license is available here.
The NURBS Book 2nd Edition by Les Piegl & Wayne Tiller