#include "common/common.h"
#include "bezier/bezier.h"
#include "bezier/quad.h"
Go to the source code of this file.
Classes | |
struct | bezier::fit_t |
Namespaces | |
namespace | bezier |
Typedefs | |
typedef std::vector < quad_bezier_t > | bezier::quad_path_t |
typedef std::vector< curve_t > | bezier::path_t |
typedef path_t | bezier::cubic_path_t |
Functions | |
void | bezier::getQuadPathFromRawPoints (IN const point_t *p, IN int nPoints, IN float ds, OUT quad_path_t &path) |
given a set of points, return the best fit path of quadratic beziers | |
void | bezier::getCubicPathFromRawPoints (IN const point_t *in_p, IN int nPoints, IN float ds, OUT cubic_path_t &path) |
float | bezier::getCoefficient (IN const float *x, IN int nPoints, IN int degree) throw () |
void | bezier::removeCoefficient (IO float *x, IN int nPoints, IN float coeff, IN int degree) throw () |
void | bezier::fitPoints (IN const float *x, IN int nPoints, IN float slope, OUT fit_t &fit) throw () |
int | bezier::getCuspIndices (IN const point_t *p, IN int nPoints, OUT int **cusps) |
float | bezier::getFitQuality (IN const point_t *p, IN int nPoints, IN const curve_t &curve) throw () |
void | bezier::fitPath (IN const point_t *p, IN int nPoints, IN float tolerance, OUT path_t &path) |
void | bezier::respacePath (IN const point_t *p, IN int nPoints, IN float dt, OUT point_t **out_p, OUT int &newPoints) |