include/Bezier2D.h

00001 
00026 #ifndef _BEZIER2D_
00027 #define _BEZIER2D_
00028 
00029 #include <Element2D.h>
00030 #include <Vector2D.h>
00031 #include <disableWarnings.h>
00032 
00033 namespace sonus
00034 {
00035 
00050         class Bezier2D : public Element2D
00051         {
00052                 public:
00053                         
00054                         Vector2D p0;
00055                         Vector2D p1;
00056                         Vector2D p2;
00057                         Vector2D p3;
00058 
00062                         Bezier2D();
00063 
00070                         Bezier2D( const Bezier2D* b );
00071 
00081                         Bezier2D( Vector2D* p0, Vector2D* p1, Vector2D* p2, Vector2D* p3 );
00082 
00089                         Bezier2D( double p0x, double p0y, double p1x, double p1y, double p2x, double p2y, double p3x, double p3y );
00090 
00098                         Bezier2D( double arr[] );
00099 
00105                         char* toString();
00106         };
00107 
00108 }
00109 
00110 #endif

Generated on Tue Aug 26 12:26:54 2008 for sonus by  doxygen 1.5.4