Inkscape
Vector Graphics Editor
|
Bernstein-Bezier polynomial. More...
Go to the source code of this file.
Classes | |
class | Geom::Bezier |
Polynomial in Bernstein-Bezier basis. More... | |
struct | Geom::Bezier::Order |
Namespaces | |
namespace | Geom |
Various utility functions. | |
Functions | |
template<typename T > | |
T | Geom::bernstein_value_at (double t, T const *c_, unsigned n) |
Compute the value of a Bernstein-Bezier polynomial. | |
template<typename T > | |
T | Geom::casteljau_subdivision (double t, T const *v, T *left, T *right, unsigned order) |
Perform Casteljau subdivision of a Bezier polynomial. | |
void | Geom::bezier_to_sbasis (SBasis &sb, Bezier const &bz) |
Changes the basis of p to be sbasis. | |
Bezier | Geom::operator* (Bezier const &f, Bezier const &g) |
Bezier | Geom::multiply (Bezier const &f, Bezier const &g) |
Bezier | Geom::reverse (const Bezier &a) |
Bezier | Geom::portion (const Bezier &a, double from, double to) |
std::vector< Point > | Geom::bezier_points (const D2< Bezier > &a) |
Bezier | Geom::derivative (Bezier const &a) |
Bezier | Geom::integral (Bezier const &a) |
OptInterval | Geom::bounds_fast (Bezier const &b) |
OptInterval | Geom::bounds_exact (Bezier const &b) |
OptInterval | Geom::bounds_local (Bezier const &b, OptInterval const &i) |
void | Geom::bezier_expand_to_image (Interval &range, Coord x0, Coord x1, Coord x2) |
Expand an interval to the image of a Bézier-Bernstein polynomial, assuming it already contains the initial point x0. | |
void | Geom::bezier_expand_to_image (Interval &range, Coord x0, Coord x1, Coord x2, Coord x3) |
std::ostream & | Geom::operator<< (std::ostream &os, const Bezier &b) |
Bernstein-Bezier polynomial.
Definition in file bezier.h.