#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.
|
| 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. More...
|
| |
| 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. More...
|
| |
| 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. More...
|
| |