ndcurves 2.1.0 create and manipulate spline and bezier curves. |
#include <iostream>#include <stdexcept>#include <vector>#include "MathDefs.h"#include "bernstein.h"#include "curve_abc.h"#include "curve_constraint.h"Go to the source code of this file.
Namespaces | |
| namespace | ndcurves |
Functions | |
| template<typename Polynomial> | |
| Polynomial | ndcurves::polynomial_from_curve (const typename Polynomial::curve_abc_t &curve) |
| Converts a cubic hermite spline or a bezier curve to a polynomial. | |
| template<typename Bezier> | |
| Bezier | ndcurves::bezier_from_curve (const typename Bezier::curve_abc_t &curve) |
| Converts a cubic hermite spline or polynomial of order 3 or less to a cubic bezier curve. | |
| template<typename Hermite> | |
| Hermite | ndcurves::hermite_from_curve (const typename Hermite::curve_abc_t &curve) |
| Converts a polynomial of order 3 or less/cubic bezier curve to a cubic hermite spline. | |