CH_Bezier Class Reference

#include <CH_Support.h>

List of all members.

Public Member Functions

 CH_Bezier ()
 CH_Bezier (CH_SegmentValues const &sv)
 CH_Bezier (CH_Segment const &seg)
void init (CH_SegmentValues const &sv)
void getValues (CH_SegmentValues &v)
void splitP (float u, CH_Bezier &a, CH_Bezier &b)
void split (float t, CH_Bezier &a, CH_Bezier &b)
void splitAndFindSlopeLengths (float t, float &left_in, float &left_out, float &right_in, float &right_out)
float timeToParametric (float t)
float evalP (float u)
float eval (float t)
void display ()

Static Public Member Functions

static void getCubicFromCVs (float x[4], CH_Cubic &c)
static void splitInternal (float t, float xin[4], float xout1[4], float xout2[4])

Public Attributes

float x [4]
float y [4]


Detailed Description

Definition at line 67 of file CH_Support.h.


Constructor & Destructor Documentation

CH_Bezier::CH_Bezier (  )  [inline]

Definition at line 73 of file CH_Support.h.

CH_Bezier::CH_Bezier ( CH_SegmentValues const &  sv  )  [inline]

Definition at line 75 of file CH_Support.h.

CH_Bezier::CH_Bezier ( CH_Segment const &  seg  ) 


Member Function Documentation

void CH_Bezier::display (  ) 

float CH_Bezier::eval ( float  t  ) 

float CH_Bezier::evalP ( float  u  ) 

static void CH_Bezier::getCubicFromCVs ( float  x[4],
CH_Cubic c 
) [static]

void CH_Bezier::getValues ( CH_SegmentValues v  ) 

void CH_Bezier::init ( CH_SegmentValues const &  sv  ) 

void CH_Bezier::split ( float  t,
CH_Bezier a,
CH_Bezier b 
)

void CH_Bezier::splitAndFindSlopeLengths ( float  t,
float &  left_in,
float &  left_out,
float &  right_in,
float &  right_out 
)

static void CH_Bezier::splitInternal ( float  t,
float  xin[4],
float  xout1[4],
float  xout2[4] 
) [static]

void CH_Bezier::splitP ( float  u,
CH_Bezier a,
CH_Bezier b 
)

float CH_Bezier::timeToParametric ( float  t  ) 


Member Data Documentation

float CH_Bezier::x[4]

Definition at line 70 of file CH_Support.h.

float CH_Bezier::y[4]

Definition at line 71 of file CH_Support.h.


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

Generated on Fri May 25 00:10:17 2012 for HDK by  doxygen 1.5.9