MAGiC  V5.0
Mailleurs Automatiques de Géometries intégrés à la Cao
mstruct_analyse_propriete_massique.h
Aller à la documentation de ce fichier.
1 //####//------------------------------------------------------------
2 //####//------------------------------------------------------------
3 //####// MAGiC
4 //####// Jean Christophe Cuilliere et Vincent FRANCOIS
5 //####// Departement de Genie Mecanique - UQTR
6 //####//------------------------------------------------------------
7 //####// MAGIC est un projet de recherche de l equipe ERICCA
8 //####// du departement de genie mecanique de l Universite du Quebec a Trois Rivieres
9 //####// http://www.uqtr.ca/ericca
10 //####// http://www.uqtr.ca/
11 //####//------------------------------------------------------------
12 //####//------------------------------------------------------------
13 //####//
14 //####// mstruct_analyse_propriete_massique.h
15 //####//
16 //####//------------------------------------------------------------
17 //####//------------------------------------------------------------
18 //####// COPYRIGHT 2000-2024
19 //####// jeu 13 jun 2024 11:58:57 EDT
20 //####//------------------------------------------------------------
21 //####//------------------------------------------------------------
22 #ifndef _MSTRUCT_ANALYSE_PROPRIETE_MASSIQUE_
23 #define _MSTRUCT_ANALYSE_PROPRIETE_MASSIQUE_
24 #include "mstruct_analyse.h"
25 #include "ot_mathematique.h"
26 
27 class MSTRUCT_VES;
28 
29 
31 {
32 public:
35  std::string identifiant,
36  std::string nom_groupe_forme="ALL");
38  virtual double* get_centre_masse(void);
39  virtual double* get_Ixyz(void);
40  virtual double* get_I(void);
41  virtual long get_type(void);
42  virtual void exporter(std::ofstream& ofstrm, long i, bool avec_entete=false, bool avec_graph=false, char* prefix_graph = (char*)"");
43  virtual void enregistrer(std::ofstream& ofstrm);
44  virtual void ouvrir(std::ifstream& ifstrm);
45  virtual void affiche_contenu(fonction_affiche *fonc);
46  virtual void executer(void);
47 protected:
48  double m_centre_masse[3];
49  double m_Ixyz[3];
50  double m_I[6];
51 };
52 
53 
54 #endif
MSTRUCT_ANALYSE_PROPRIETE_MASSIQUE::enregistrer
virtual void enregistrer(std::ofstream &ofstrm)
Definition: mstruct_analyse_propriete_massique.cpp:141
MSTRUCT_ANALYSE_PROPRIETE_MASSIQUE::executer
virtual void executer(void)
Definition: mstruct_analyse_propriete_massique.cpp:72
MSTRUCT_ANALYSE_PROPRIETE_MASSIQUE::get_I
virtual double * get_I(void)
Definition: mstruct_analyse_propriete_massique.cpp:62
MSTRUCT_ANALYSE_PROPRIETE_MASSIQUE::get_type
virtual long get_type(void)
Definition: mstruct_analyse_propriete_massique.cpp:67
MSTRUCT_ANALYSE_PROPRIETE_MASSIQUE::ouvrir
virtual void ouvrir(std::ifstream &ifstrm)
Definition: mstruct_analyse_propriete_massique.cpp:160
MSTRUCT_ANALYSE_PROPRIETE_MASSIQUE::m_Ixyz
double m_Ixyz[3]
Definition: mstruct_analyse_propriete_massique.h:49
MSTRUCT_ANALYSE_PROPRIETE_MASSIQUE::get_Ixyz
virtual double * get_Ixyz(void)
Definition: mstruct_analyse_propriete_massique.cpp:57
MSTRUCT_ANALYSE_PROPRIETE_MASSIQUE::~MSTRUCT_ANALYSE_PROPRIETE_MASSIQUE
~MSTRUCT_ANALYSE_PROPRIETE_MASSIQUE(void)
Definition: mstruct_analyse_propriete_massique.cpp:48
MSTRUCT_ANALYSE
Definition: mstruct_analyse.h:30
MSTRUCT_ANALYSE_PROPRIETE_MASSIQUE::MSTRUCT_ANALYSE_PROPRIETE_MASSIQUE
MSTRUCT_ANALYSE_PROPRIETE_MASSIQUE(void)
Definition: mstruct_analyse_propriete_massique.cpp:31
mstruct_analyse.h
MSTRUCT_VES
Definition: mstruct_ves.h:45
ot_mathematique.h
MSTRUCT_ANALYSE_PROPRIETE_MASSIQUE::get_centre_masse
virtual double * get_centre_masse(void)
Definition: mstruct_analyse_propriete_massique.cpp:52
MSTRUCT_ANALYSE_PROPRIETE_MASSIQUE
Definition: mstruct_analyse_propriete_massique.h:30
MSTRUCT_ANALYSE_PROPRIETE_MASSIQUE::affiche_contenu
virtual void affiche_contenu(fonction_affiche *fonc)
Definition: mstruct_analyse_propriete_massique.cpp:177
fonction_affiche
void fonction_affiche(char *)
Definition: fct_taille.h:28
MSTRUCT_ANALYSE_PROPRIETE_MASSIQUE::exporter
virtual void exporter(std::ofstream &ofstrm, long i, bool avec_entete=false, bool avec_graph=false, char *prefix_graph=(char *)"")
Definition: mstruct_analyse_propriete_massique.cpp:123
MSTRUCT_ANALYSE_PROPRIETE_MASSIQUE::m_centre_masse
double m_centre_masse[3]
Definition: mstruct_analyse_propriete_massique.h:48
MSTRUCT_ANALYSE_PROPRIETE_MASSIQUE::m_I
double m_I[6]
Definition: mstruct_analyse_propriete_massique.h:50