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