1 |
souaissa |
66 |
//---------------------------------------------------------------------------
|
2 |
|
|
|
3 |
|
|
#ifndef vct_surfaceH
|
4 |
|
|
#define vct_surfaceH
|
5 |
|
|
//---------------------------------------------------------------------------
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
#ifdef WINDOWS_VERSION
|
9 |
|
|
#ifdef BUILT_DLL_GEOMETRIE
|
10 |
|
|
#define DLLPORTGEOMETRIE __declspec(dllexport)
|
11 |
|
|
#else
|
12 |
|
|
#define DLLPORTGEOMETRIE __declspec(dllimport)
|
13 |
|
|
#endif
|
14 |
|
|
#else
|
15 |
|
|
#define DLLPORTGEOMETRIE
|
16 |
|
|
#endif
|
17 |
|
|
|
18 |
|
|
#include <vector.h>
|
19 |
|
|
#include "vct_element_geometrique.h"
|
20 |
|
|
#include "ot_doubleprecision.h"
|
21 |
|
|
#include <ostream>
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
class DLLPORTGEOMETRIE VCT_SURFACE:public VCT_ELEMENT_GEOMETRIQUE
|
26 |
|
|
{
|
27 |
|
|
public:
|
28 |
|
|
|
29 |
|
|
VCT_SURFACE(class MG_SURFACE* elemgeo);
|
30 |
|
|
VCT_SURFACE(VCT_SURFACE& mdd);
|
31 |
|
|
virtual ~VCT_SURFACE();
|
32 |
|
|
|
33 |
|
|
virtual void get_vectorisation(vector<double2>& lst);
|
34 |
|
|
virtual void get_geo_barycentre(double2* xyz);
|
35 |
|
|
virtual double2 get_inertie_au_centre_de_masse();
|
36 |
|
|
virtual int get_nb_points();
|
37 |
|
|
virtual void enregistrer(std::ostream& o);
|
38 |
|
|
private:
|
39 |
|
|
|
40 |
|
|
TPL_LISTE_ENTITE<double> nurbs_params;
|
41 |
|
|
|
42 |
|
|
int indx_premier_ptctr;
|
43 |
|
|
int nb_points;
|
44 |
|
|
int nb_u;
|
45 |
|
|
int nb_v;
|
46 |
|
|
};
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
#endif
|