Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Examples  

jezabeltoolspline.h

00001 
00002 #ifndef jezabelspline_included
00003 #define jezabelspline_included
00004 
00005 #define SPLINE_MAX_CTL_PTS 18
00006 
00013 typedef struct spline_ctl {
00014   int num_points;
00015   float points[SPLINE_MAX_CTL_PTS];
00016   float coeffs[SPLINE_MAX_CTL_PTS][4];
00017 } spline_ctl;
00018 
00019 #ifdef __cplusplus
00020 extern "C" {
00021 #endif
00022 
00030   void spline_set_control_points(spline_ctl *ctl, int num_pts, float *x_pts, float *y_pts);
00036   float spline_compute_x_intercept(spline_ctl *ctl, float x);
00037 
00038 #ifdef __cplusplus
00039 }
00040 #endif
00041 #endif

Generated at Sun Jan 18 20:51:22 2004 for Jezabel by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001