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 (float t, point_t &pt) const throw ()
void bezier::control_points_t::setFromPointsAndTangents (const point_t &q0, const point_t &t0, const point_t &q1, const point_t &t1) throw ()
void bezier::control_points_t::dump (const char *title) const throw ()
void bezier::getCurveFromControlPoints (const control_points_t &cp, curve_t &b) throw ()
void bezier::getControlPointsFromCurve (const curve_t &b, control_points_t &cp) throw ()
void bezier::getRect (const curve_t &curve, rect_t &rect) throw ()
void bezier::scale (curve_t &curve, float factor) throw ()
void bezier::write (const curve_t &curve, std::string &value, float eps) throw ()
void bezier::read (const char *value, 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 ( float  t,
point_t pt 
) const throw () [inline, inherited]

Definition at line 78 of file bezier.h.

void bezier::control_points_t::setFromPointsAndTangents ( const point_t q0,
const point_t t0,
const point_t q1,
const point_t t1 
) throw () [inline, inherited]

Definition at line 106 of file bezier.h.

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

Definition at line 119 of file bezier.h.

void bezier::getCurveFromControlPoints ( const control_points_t &  cp,
curve_t &  b 
) throw ()
void bezier::getControlPointsFromCurve ( const curve_t &  b,
control_points_t &  cp 
) throw ()
void bezier::getRect ( const curve_t &  curve,
rect_t rect 
) throw ()
void bezier::scale ( curve_t &  curve,
float  factor 
) throw ()
void bezier::write ( const curve_t &  curve,
std::string &  value,
float  eps 
) throw ()
void bezier::read ( const char *  value,
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.

Definition at line 128 of file bezier.h.

Definition at line 129 of file bezier.h.

Definition at line 130 of file bezier.h.

Definition at line 131 of file bezier.h.