MAGiC
V5.0
Mailleurs Automatiques de Géometries intégrés à la Cao
vct_sommet.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
//####// vct_sommet.cpp
15
//####//
16
//####//------------------------------------------------------------
17
//####//------------------------------------------------------------
18
//####// COPYRIGHT 2000-2024
19
//####// jeu 13 jun 2024 11:58:55 EDT
20
//####//------------------------------------------------------------
21
//####//------------------------------------------------------------
22
#include"
gestionversion.h
"
23
24
25
#pragma hdrstop
26
27
#include "
vct_sommet.h
"
28
#include "
mg_sommet.h
"
29
#include "
mg_point.h
"
30
#include "
vct_point.h
"
31
#include <iomanip>
32
#include<math.h>
33
34
#pragma package(smart_init)
35
36
37
38
VCT_SOMMET::VCT_SOMMET
(
MG_SOMMET
* sommet):
VCT_ELEMENT_TOPOLOGIQUE
(sommet)
39
{
40
41
int
indx_premier_ptctr;
42
MG_POINT
* point=sommet->
get_point
();
43
44
TPL_LISTE_ENTITE<double>
nurbs_params;
45
point->
get_param_NURBS
(indx_premier_ptctr,nurbs_params) ;
46
47
OT_VECTEUR_4DD
V
;
48
V
[0]=nurbs_params.
get
(indx_premier_ptctr+ 0);
49
V
[1]=nurbs_params.
get
(indx_premier_ptctr+ 1);
50
V
[2]=nurbs_params.
get
(indx_premier_ptctr+ 2);
51
V
[3]=nurbs_params.
get
(indx_premier_ptctr+ 3);
52
lst_points
.insert(
lst_points
.end(),
V
);
53
//OT_VECTEUR_4DD VCT_NUL(0.,0.,0.,0.);
54
//lst_vecteurs.insert(lst_vecteurs.end(), VCT_NUL);
55
construire_forme_tensorielle
();
56
57
58
}
59
60
61
VCT_SOMMET::VCT_SOMMET
(
VCT_SOMMET
& mdd):
VCT_ELEMENT_TOPOLOGIQUE
(mdd.elem_topo)
62
{
63
64
}
65
66
67
VCT_SOMMET::~ VCT_SOMMET()
68
{
69
70
}
71
72
73
74
gestionversion.h
VCT::lst_points
std::vector< OT_VECTEUR_4DD > lst_points
Definition:
vct.h:61
VCT::construire_forme_tensorielle
void construire_forme_tensorielle(void)
Definition:
vct.cpp:62
VCT_SOMMET
Definition:
vct_sommet.h:35
vct_point.h
mg_point.h
vct_sommet.h
V
void V(MCAA *mcaa)
Definition:
CAD4FE_MCAA.cpp:1794
MG_SOMMET::get_point
virtual MG_POINT * get_point(void)
Definition:
mg_sommet.cpp:52
MG_POINT
Definition:
mg_point.h:33
TPL_LISTE_ENTITE::get
virtual X get(int num)
Definition:
tpl_liste_entite.h:72
VCT_SOMMET::VCT_SOMMET
VCT_SOMMET(class MG_SOMMET *face)
Definition:
vct_sommet.cpp:38
TPL_LISTE_ENTITE< double >
mg_sommet.h
MG_SOMMET
Definition:
mg_sommet.h:35
VCT_ELEMENT_TOPOLOGIQUE
Definition:
vct_element_topologique.h:37
OT_VECTEUR_4DD
Definition:
ot_mathematique.h:284
MG_POINT::get_param_NURBS
virtual void get_param_NURBS(int &indx_premier_ptctr, TPL_LISTE_ENTITE< double > ¶m)=0
home
francois
tmp
lib
mtu
src
vct_sommet.cpp
Généré le Jeudi 12 Juin 2025 23:00:11 pour MAGiC par
1.8.17