Classes | Namespaces | Typedefs | Functions | Variables

Bezier Curves
[Geometry Libraries]

Collection of objects and APIs intended to be helpful with bezier curves. More...

Collaboration diagram for Bezier Curves:

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

typedef rect2d_t<float> bezier::rect_t

Definition at line 63 of file bezier.h.


Function Documentation

void bezier::curve_t::getPointAtT ( IN float  t,
OUT point_t pt 
) const throw () [inline, inherited]

Definition at line 78 of file bezier.h.

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]

Definition at line 106 of file bezier.h.

void bezier::control_points_t::dump ( IN const char *  title  )  const throw () [inline, inherited]

Definition at line 119 of file bezier.h.

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

float bezier::curve_t::ax [inherited]

Definition at line 86 of file bezier.h.

float bezier::curve_t::ay [inherited]

Definition at line 86 of file bezier.h.

float bezier::curve_t::bx [inherited]

Definition at line 87 of file bezier.h.

float bezier::curve_t::by [inherited]

Definition at line 87 of file bezier.h.

float bezier::curve_t::cx [inherited]

Definition at line 88 of file bezier.h.

float bezier::curve_t::cy [inherited]

Definition at line 88 of file bezier.h.

float bezier::curve_t::x0 [inherited]

Definition at line 89 of file bezier.h.

float bezier::curve_t::y0 [inherited]

Definition at line 89 of file bezier.h.

point_t bezier::control_points_t::p0 [inherited]

Definition at line 128 of file bezier.h.

point_t bezier::control_points_t::p1 [inherited]

Definition at line 129 of file bezier.h.

point_t bezier::control_points_t::p2 [inherited]

Definition at line 130 of file bezier.h.

point_t bezier::control_points_t::p3 [inherited]

Definition at line 131 of file bezier.h.