Inkscape
Vector Graphics Editor
|
Conversion between SBasis and Bezier basis polynomials. More...
Go to the source code of this file.
Namespaces | |
namespace | Geom |
Various utility functions. | |
Functions | |
void | Geom::sbasis_to_bezier (Bezier &bz, SBasis const &sb, size_t sz) |
Changes the basis of p to be bernstein. | |
void | Geom::sbasis_to_bezier (D2< Bezier > &bz, D2< SBasis > const &sb, size_t sz=0) |
void | Geom::sbasis_to_bezier (std::vector< Point > &bz, D2< SBasis > const &sb, size_t sz) |
Changes the basis of p to be Bernstein. | |
void | Geom::sbasis_to_cubic_bezier (std::vector< Point > &bz, D2< SBasis > const &sb) |
Changes the basis of p to be Bernstein. | |
void | Geom::bezier_to_sbasis (SBasis &sb, Bezier const &bz) |
Changes the basis of p to be sbasis. | |
void | Geom::bezier_to_sbasis (D2< SBasis > &sb, std::vector< Point > const &bz) |
Changes the basis of d2 p to be sbasis. | |
void | Geom::build_from_sbasis (Geom::PathBuilder &pb, D2< SBasis > const &B, double tol, bool only_cubicbeziers) |
Make a path from a d2 sbasis. | |
Bezier | Geom::sbasis_to_bezier (SBasis const &B, unsigned q=0) |
SBasis | Geom::bezier_to_sbasis (Bezier const &B) |
std::vector< Geom::Point > | Geom::sbasis_to_bezier (D2< SBasis > const &B, unsigned q=0) |
PathVector | Geom::path_from_piecewise (Geom::Piecewise< Geom::D2< Geom::SBasis > > const &B, double tol, bool only_cubicbeziers) |
Make a path from a d2 sbasis. | |
Path | Geom::path_from_sbasis (D2< SBasis > const &B, double tol, bool only_cubicbeziers) |
Make a path from a d2 sbasis. | |
Path | Geom::cubicbezierpath_from_sbasis (D2< SBasis > const &B, double tol) |
Conversion between SBasis and Bezier basis polynomials.
Definition in file sbasis-to-bezier.h.