Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
sbasis-to-bezier.h File Reference

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::PointGeom::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)
 

Detailed Description

Conversion between SBasis and Bezier basis polynomials.

Definition in file sbasis-to-bezier.h.