| 1 |
souaissa |
66 |
//---------------------------------------------------------------------------
|
| 2 |
|
|
|
| 3 |
|
|
#ifndef vct_sommetH
|
| 4 |
|
|
#define vct_sommetH
|
| 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 <vector.h>
|
| 17 |
|
|
#include "tpl_liste_entite.h"
|
| 18 |
|
|
#include "ot_doubleprecision.h"
|
| 19 |
|
|
#include "vct_element_topologique.h"
|
| 20 |
|
|
#include "ot_mathematique.h"
|
| 21 |
|
|
|
| 22 |
|
|
|
| 23 |
|
|
class DLLPORTGEOMETRIE VCT_SOMMET:public VCT_ELEMENT_TOPOLOGIQUE
|
| 24 |
|
|
{
|
| 25 |
|
|
public:
|
| 26 |
|
|
|
| 27 |
|
|
VCT_SOMMET (class MG_SOMMET* face);
|
| 28 |
|
|
VCT_SOMMET (VCT_SOMMET& mdd);
|
| 29 |
|
|
virtual ~VCT_SOMMET();
|
| 30 |
|
|
|
| 31 |
|
|
virtual void get_topo_vectorisation(vector<double2>& lst);
|
| 32 |
souaissa |
67 |
//virtual void get_geo_vectorisation(vector<double2>& lst);
|
| 33 |
|
|
//virtual void get_geo_barycentre(double2* xyz);
|
| 34 |
souaissa |
66 |
virtual void get_topo_barycentre(double2* xyz);
|
| 35 |
|
|
virtual double2 get_inertie_au_centre_de_masse();
|
| 36 |
|
|
virtual double2 get_inertie_au_point(double2* xyz);
|
| 37 |
|
|
virtual void get_covariance(double2* cov) ;
|
| 38 |
|
|
virtual void get_axes_dinertie(OT_VECTEUR_3D& vp1,OT_VECTEUR_3D& vp2,OT_VECTEUR_3D& vp3);
|
| 39 |
|
|
virtual void enregistrer(std::ostream& o);
|
| 40 |
souaissa |
67 |
//virtual int get_nb_geo_points();
|
| 41 |
souaissa |
66 |
virtual int get_nb_topo_points();
|
| 42 |
|
|
virtual void get_tenseur_inertie_au_cm(double2* tens);
|
| 43 |
|
|
virtual void get_tenseur_inertie_au_pt(double2* xyz, double2* tens);
|
| 44 |
|
|
virtual void get_tenseur_inertie_base_locale(double2* tens);
|
| 45 |
|
|
protected:
|
| 46 |
|
|
|
| 47 |
souaissa |
67 |
//vector<double2> LISTE_GEO_VECTEUR_SOMMET;
|
| 48 |
souaissa |
66 |
vector<double2> LISTE_TOPO_VECTEUR_SOMMET;
|
| 49 |
|
|
TPL_LISTE_ENTITE<double> nurbs_params;
|
| 50 |
|
|
int indx_premier_ptctr;
|
| 51 |
|
|
int nb_geo_points;
|
| 52 |
|
|
int nb_topo_points;
|
| 53 |
|
|
};
|
| 54 |
|
|
|
| 55 |
|
|
|
| 56 |
|
|
|
| 57 |
|
|
|
| 58 |
|
|
|
| 59 |
|
|
#endif
|