1 #ifndef CURVE_PARAMETRIC_H
2 #define CURVE_PARAMETRIC_H
9 #include "shared_array.h"
10 //#include <boost/shared_array.hpp>
11 //using boost::shared_array;
13 //in c++14 = std::shared_ptr<int> sp( new int[10], std::default_delete<int[]>() );
15 /*----------------------------------------------------------------------*\
17 \*---------------------------------------------------------------------*/
19 /*--------------------------------------*\
21 \*-------------------------------------*/
24 * Courbe de param�tre landa
26 class CBI_GRAPH CurveParametric
: public Figure
29 CurveParametric(Title title
, Apparance apparance
);
31 virtual ~CurveParametric();
33 virtual Domaine
computeDomaine(const Domaine
& graphDomaine
) const;
35 virtual void accept(FigureVisitor_I
* ptrVisitor
);
38 * Return a new TabPoints of size getNbPoints()
39 * Delete car pas trouver d'equivalence a boost dans la stl
41 virtual shared_array
<Point
> getTabPoints() const;
43 virtual int getNbPoints() const = 0;
45 virtual Interval
getIntervalLanda() const =0;
48 * landa in intervalLand
50 virtual float x(double landa
) const=0;
54 * landa in intervalLand
56 virtual float y(double landa
) const=0;
61 /*----------------------------------------------------------------------*\
63 \*---------------------------------------------------------------------*/