Public Member Functions | Public Attributes

bezier::control_points_t Struct Reference
[Bezier Curves]

bezier curve specified by control points More...

#include <bezier.h>

Collaboration diagram for bezier::control_points_t:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void clear (void) throw ()
void setFromPointsAndTangents (const point_t &q0, const point_t &t0, const point_t &q1, const point_t &t1) throw ()
void dump (const char *title) const throw ()

Public Attributes

point_t p0
point_t p1
point_t p2
point_t p3

Detailed Description

bezier curve specified by control points

a = (1 - t)

p(t) = a^3 p0 + 3 a^2 t p1 + 3 a t^2 p2 + t^3 p3

Definition at line 101 of file bezier.h.


Member Function Documentation

void bezier::control_points_t::clear ( void   )  throw () [inline]

Definition at line 102 of file bezier.h.


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