Classes | Namespaces | Typedefs | Functions

bezier.h File Reference

#include "common/common.h"
#include "threadsafe/smart_ptr.h"
#include "geometry/geometry_2d.h"
Include dependency graph for bezier.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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 point2d_t< float > bezier::point_t
typedef rect2d_t< float > bezier::rect_t

Functions

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)