Collection of objects and APIs intended to be helpful with bezier curves.
More...
Classes |
struct | bezier::curve_t |
| paramaterized bezier curve More...
|
struct | bezier::control_points_t |
| bezier curve specified by control points More...
|
Namespaces |
namespace | bezier |
Typedefs |
typedef rect2d_t< float > | bezier::rect_t |
Functions |
void | bezier::curve_t::getPointAtT (IN float t, OUT point_t &pt) const throw () |
void | bezier::control_points_t::setFromPointsAndTangents (IN const point_t &q0, IN const point_t &t0, IN const point_t &q1, IN const point_t &t1) throw () |
void | bezier::control_points_t::dump (IN const char *title) const throw () |
void | bezier::getCurveFromControlPoints (IN const control_points_t &cp, OUT curve_t &b) throw () |
void | bezier::getControlPointsFromCurve (IN const curve_t &b, OUT control_points_t &cp) throw () |
void | bezier::getRect (IN const curve_t &curve, OUT rect_t &rect) throw () |
void | bezier::scale (IO curve_t &curve, IN float factor) throw () |
void | bezier::write (IN const curve_t &curve, OUT std::string &value, IN float eps) throw () |
void | bezier::read (IN const char *value, OUT curve_t &curve) |
Variables |
float | bezier::curve_t::ax |
float | bezier::curve_t::ay |
float | bezier::curve_t::bx |
float | bezier::curve_t::by |
float | bezier::curve_t::cx |
float | bezier::curve_t::cy |
float | bezier::curve_t::x0 |
float | bezier::curve_t::y0 |
point_t | bezier::control_points_t::p0 |
point_t | bezier::control_points_t::p1 |
point_t | bezier::control_points_t::p2 |
point_t | bezier::control_points_t::p3 |
Detailed Description
Collection of objects and APIs intended to be helpful with bezier curves.
Typedef Documentation
Function Documentation
void bezier::curve_t::getPointAtT |
( |
IN float |
t, |
|
|
OUT point_t & |
pt | |
|
) |
| | const throw () [inline, inherited] |
void bezier::control_points_t::setFromPointsAndTangents |
( |
IN const point_t & |
q0, |
|
|
IN const point_t & |
t0, |
|
|
IN const point_t & |
q1, |
|
|
IN const point_t & |
t1 | |
|
) |
| | throw () [inline, inherited] |
void bezier::control_points_t::dump |
( |
IN const char * |
title |
) |
const throw () [inline, inherited] |
void bezier::getCurveFromControlPoints |
( |
IN const control_points_t & |
cp, |
|
|
OUT curve_t & |
b | |
|
) |
| | throw () |
void bezier::getControlPointsFromCurve |
( |
IN const curve_t & |
b, |
|
|
OUT control_points_t & |
cp | |
|
) |
| | throw () |
void bezier::getRect |
( |
IN const curve_t & |
curve, |
|
|
OUT rect_t & |
rect | |
|
) |
| | throw () |
void bezier::scale |
( |
IO curve_t & |
curve, |
|
|
IN float |
factor | |
|
) |
| | throw () |
void bezier::write |
( |
IN const curve_t & |
curve, |
|
|
OUT std::string & |
value, |
|
|
IN float |
eps | |
|
) |
| | throw () |
void bezier::read |
( |
IN const char * |
value, |
|
|
OUT curve_t & |
curve | |
|
) |
| | |
Variable Documentation