Public Member Functions | Public Attributes

bezier::quad_bezier_t Struct Reference

quadratic bezier curve More...

#include <quad.h>

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

List of all members.

Public Member Functions

void clear (void) throw ()
void setFromPointsAndSlope (const point_t &in_p0, const point_t &in_p1, const point_t &t0) throw ()
point_t getFinalTangent (void) const throw ()
point_t getPointAt (float t) const throw ()
void getBoundingRect (rect_t &r) const throw ()

Public Attributes

point_t p0
point_t p1
point_t p2

Detailed Description

quadratic bezier curve

Definition at line 48 of file quad.h.


Member Function Documentation

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

Definition at line 49 of file quad.h.

void bezier::quad_bezier_t::setFromPointsAndSlope ( const point_t in_p0,
const point_t in_p1,
const point_t t0 
) throw () [inline]

Definition at line 53 of file quad.h.

point_t bezier::quad_bezier_t::getFinalTangent ( void   )  const throw () [inline]

Definition at line 62 of file quad.h.

point_t bezier::quad_bezier_t::getPointAt ( float  t  )  const throw () [inline]

Definition at line 67 of file quad.h.

void bezier::quad_bezier_t::getBoundingRect ( rect_t r  )  const throw ()

Definition at line 41 of file quad.cpp.


Member Data Documentation

Definition at line 80 of file quad.h.

Definition at line 81 of file quad.h.

Definition at line 82 of file quad.h.


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