35#ifndef LIB2GEOM_SEEN_SBASIS_TO_BEZIER_H
36#define LIB2GEOM_SEEN_SBASIS_TO_BEZIER_H
49void sbasis_to_bezier (std::vector<Point> & bz, D2<SBasis>
const& sb,
size_t sz = 0);
53void build_from_sbasis(PathBuilder &pb, D2<SBasis>
const &B,
double tol,
bool only_cubicbeziers);
64std::vector<Geom::Point>
Polynomial in Bernstein-Bezier basis.
Adaptor that creates 2D functions from 1D ones.
Sequence of contiguous curves, aka spline.
Function defined as discrete pieces.
Polynomial in symmetric power basis.
Lifts one dimensional objects into 2D.
Various utility functions.
Path path_from_sbasis(D2< SBasis > const &B, double tol, bool only_cubicbeziers=false)
Make a path from a d2 sbasis.
void sbasis_to_cubic_bezier(std::vector< Point > &bz, D2< SBasis > const &sb)
Changes the basis of p to be Bernstein.
void build_from_sbasis(PathBuilder &pb, D2< SBasis > const &B, double tol, bool only_cubicbeziers)
Make a path from a d2 sbasis.
PathVector path_from_piecewise(Piecewise< D2< SBasis > > const &B, double tol, bool only_cubicbeziers=false)
Make a path from a d2 sbasis.
Path cubicbezierpath_from_sbasis(D2< SBasis > const &B, double tol)
void sbasis_to_bezier(Bezier &bz, SBasis const &sb, size_t sz=0)
Changes the basis of p to be bernstein.
SBasis bezier_to_sbasis(Coord const *handles, unsigned order)
PathVector - a sequence of subpaths.