2 bezier.hh -- declare Bezier and Bezier_bow
4 (c) 1998--1999 Jan Nieuwenhuizen <janneke@gnu.org>
12 #include "drul-array.hh"
13 #include "interval.hh"
17 #include "polynomial.hh"
28 void translate (Offset);
30 void check_sanity () const;
31 Real get_other_coordinate (Axis a, Real x) const;
32 Array<Real> solve_point (Axis, Real coordinate) const;
33 Array<Real> solve_derivative (Offset) const;
34 Interval extent (Axis)const;
35 Polynomial polynomial (Axis)const;
36 Offset curve_point (Real t) const;
38 static const int CONTROL_COUNT = 4;
39 Offset control_[CONTROL_COUNT];