1 |
souaissa |
71 |
//---------------------------------------------------------------------------
|
2 |
|
|
|
3 |
|
|
#ifndef vctH
|
4 |
|
|
#define vctH
|
5 |
|
|
//---------------------------------------------------------------------------
|
6 |
|
|
#ifdef WINDOWS_VERSION
|
7 |
|
|
#ifdef BUILT_DLL_GEOMETRIE
|
8 |
|
|
#define DLLPORTGEOMETRIE __declspec(dllexport)
|
9 |
|
|
#else
|
10 |
|
|
#define DLLPORTGEOMETRIE __declspec(dllimport)
|
11 |
|
|
#endif
|
12 |
|
|
#else
|
13 |
|
|
#define DLLPORTGEOMETRIE
|
14 |
|
|
#endif
|
15 |
|
|
|
16 |
|
|
#include "ot_doubleprecision.h"
|
17 |
|
|
#include "ot_mathematique.h"
|
18 |
|
|
#include <vector.h>
|
19 |
|
|
#include <ot_tenseur.h>
|
20 |
|
|
#include <ostream.h>
|
21 |
|
|
|
22 |
|
|
class DLLPORTGEOMETRIE VCT
|
23 |
|
|
{
|
24 |
|
|
public:
|
25 |
|
|
VCT();
|
26 |
|
|
VCT(VCT& mdd);
|
27 |
|
|
~VCT();
|
28 |
|
|
|
29 |
|
|
virtual std::vector<OT_VECTEUR_4DD> &get_vecteurs(void)=0 ;
|
30 |
|
|
virtual OT_TENSEUR calcule_tenseur_metrique()=0 ;
|
31 |
|
|
virtual OT_VECTEUR_4DD calcule_barycentre(void)=0;
|
32 |
|
|
virtual OT_TENSEUR calcule_covariance(void)=0;
|
33 |
|
|
virtual void calcule_axes_dinertie(OT_VECTEUR_4DD& D,OT_TENSEUR& V)=0;
|
34 |
|
|
virtual OT_TENSEUR calcule_tenseur_inertie_au_barycentre()=0;
|
35 |
|
|
virtual OT_TENSEUR calcule_tenseur_inertie_au_pt(OT_VECTEUR_4DD& xyz)=0;
|
36 |
|
|
virtual OT_TENSEUR calcule_tenseur_inertie_base_locale()=0;
|
37 |
|
|
virtual void calcule_tenseur_inertie_base_entite(OT_VECTEUR_4DD& G1G2, OT_TENSEUR& tens,VCT& vct_f)=0 ;
|
38 |
|
|
virtual void enregistrer(std::ostream& o)=0;
|
39 |
|
|
virtual int get_nb_points(void)=0;
|
40 |
francois |
72 |
virtual std::vector<OT_VECTEUR_4DD> &get_points_controle(void)=0;
|
41 |
souaissa |
71 |
|
42 |
|
|
protected:
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
};
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
#endif
|