Scribus
Open source desktop publishing at your fingertips
Geom::Bezier Class Reference

Classes

struct  Order
 

Public Types

typedef Coord output_type
 

Public Member Functions

unsigned int order () const
 
unsigned int size () const
 
 Bezier (const Bezier &b)
 
Bezieroperator= (Bezier const &other)
 
 Bezier (Order ord)
 
 Bezier (Coord c0)
 
 Bezier (Coord c0, Coord c1)
 
 Bezier (Coord c0, Coord c1, Coord c2)
 
 Bezier (Coord c0, Coord c1, Coord c2, Coord c3)
 
unsigned degree () const
 
bool isZero () const
 
bool isConstant () const
 
bool isFinite () const
 
Coord at0 () const
 
Coord at1 () const
 
Coord valueAt (double t) const
 
Coord operator() (double t) const
 
SBasis toSBasis () const
 
Coordoperator[] (unsigned ix)
 
Coord const & operator[] (unsigned ix) const
 
void setPoint (unsigned ix, double val)
 
std::vector< CoordvalueAndDerivatives (Coord t, unsigned n_derivs) const
 
std::pair< Bezier, Beziersubdivide (Coord t) const
 
std::vector< double > roots () const
 

Protected Member Functions

 Bezier (Coord const c[], unsigned ord)
 

Friends

Bezier portion (const Bezier &a, Coord from, Coord to)
 
Interval bounds_fast (Bezier const &b)
 
Bezier derivative (const Bezier &a)
 

The documentation for this class was generated from the following file: