Inkscape
Vector Graphics Editor
|
Bezier fitting algorithms. More...
Go to the source code of this file.
Namespaces | |
namespace | Geom |
Various utility functions. | |
Functions | |
Point | Geom::bezier_pt (unsigned const degree, Point const V[], double const t) |
Evaluate a Bezier curve at parameter value t. | |
int | Geom::bezier_fit_cubic (Point bezier[], Point const data[], int len, double error) |
int | Geom::bezier_fit_cubic_r (Point bezier[], Point const data[], int const len, double const error, unsigned const max_beziers) |
Fit a multi-segment Bezier curve to a set of digitized points, with possible weedout of identical points and NaNs. | |
int | Geom::bezier_fit_cubic_full (Point bezier[], int split_points[], Point const data[], int const len, Point const &tHat1, Point const &tHat2, double const error, unsigned const max_beziers) |
Fit a multi-segment Bezier curve to a set of digitized points, without possible weedout of identical points and NaNs. | |
Point | Geom::darray_left_tangent (Point const d[], unsigned const len) |
Estimate the (forward) tangent at point d[first + 0.5]. | |
Point | Geom::darray_left_tangent (Point const d[], unsigned const len, double const tolerance_sq) |
Estimate the (forward) tangent at point d[0]. | |
Point | Geom::darray_right_tangent (Point const d[], unsigned const len, double const tolerance_sq) |
Estimates the (backward) tangent at d[last]. | |
template<typename iterator > | |
static void | Geom::cubic_bezier_poly_coeff (iterator b, Point *pc) |
Bezier fitting algorithms.
Definition in file bezier-utils.h.