MAGiC
V5.0
Mailleurs Automatiques de Géometries intégrés à la Cao
ctvol_noeud.cpp
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
//####// ctvol_noeud.cpp
15
//####//
16
//####//------------------------------------------------------------
17
//####//------------------------------------------------------------
18
//####// COPYRIGHT 2000-2024
19
//####// jeu 13 jun 2024 11:58:53 EDT
20
//####//------------------------------------------------------------
21
//####//------------------------------------------------------------
22
23
24
#include "
gestionversion.h
"
25
26
27
#include "
mg_noeud.h
"
28
#include "
ctvol_noeud.h
"
29
30
31
32
33
34
35
CTVOL_NOEUD::CTVOL_NOEUD
(
class
MG_NOEUD
* noeud):mgnoeud(noeud),nb_segment_connecte(0),densite(0.)
36
{
37
}
38
39
CTVOL_NOEUD::~CTVOL_NOEUD
()
40
{
41
}
42
43
class
MG_NOEUD
*
CTVOL_NOEUD::get_noeud
(
void
)
44
{
45
return
mgnoeud
;
46
}
47
48
double
CTVOL_NOEUD::get_densite
(
void
)
49
{
50
return
densite
;
51
}
52
53
void
CTVOL_NOEUD::change_densite
(
double
dens)
54
{
55
densite
=dens;
56
}
57
58
long
CTVOL_NOEUD::get_id
()
59
{
60
return
mgnoeud
->
get_id
();
61
}
62
63
64
void
CTVOL_NOEUD::incremente_nb_segment
(
int
nb)
65
{
66
nb_segment_connecte
=
nb_segment_connecte
+nb;
67
}
68
69
int
CTVOL_NOEUD::get_nb_segment
(
void
)
70
{
71
return
nb_segment_connecte
;
72
}
73
74
CTVOL_NOEUD::nb_segment_connecte
int nb_segment_connecte
Definition:
ctvol_noeud.h:49
CTVOL_NOEUD::get_nb_segment
int get_nb_segment(void)
Definition:
ctvol_noeud.cpp:69
gestionversion.h
MG_IDENTIFICATEUR::get_id
unsigned long get_id()
Definition:
mg_identificateur.cpp:53
CTVOL_NOEUD::incremente_nb_segment
void incremente_nb_segment(int nb=1)
Definition:
ctvol_noeud.cpp:64
CTVOL_NOEUD::~CTVOL_NOEUD
~CTVOL_NOEUD()
Definition:
ctvol_noeud.cpp:39
mg_noeud.h
CTVOL_NOEUD::change_densite
void change_densite(double dens)
Definition:
ctvol_noeud.cpp:53
CTVOL_NOEUD::densite
double densite
Definition:
ctvol_noeud.h:48
MG_NOEUD
Definition:
mg_noeud.h:41
CTVOL_NOEUD::CTVOL_NOEUD
CTVOL_NOEUD(class MG_NOEUD *noeud)
Definition:
ctvol_noeud.cpp:35
CTVOL_NOEUD::mgnoeud
class MG_NOEUD * mgnoeud
Definition:
ctvol_noeud.h:47
CTVOL_NOEUD::get_noeud
class MG_NOEUD * get_noeud(void)
Definition:
ctvol_noeud.cpp:43
CTVOL_NOEUD::get_id
long get_id()
Definition:
ctvol_noeud.cpp:58
ctvol_noeud.h
CTVOL_NOEUD::get_densite
double get_densite(void)
Definition:
ctvol_noeud.cpp:48
home
francois
tmp
lib
carte
src
ctvol_noeud.cpp
Généré le Mardi 12 Août 2025 23:00:07 pour MAGiC par
1.8.17