ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/mtu/src/vct_sommet.cpp
Revision: 1158
Committed: Thu Jun 13 22:18:49 2024 UTC (11 months, 1 week ago) by francois
File size: 2066 byte(s)
Log Message:
compatibilité Ubuntu 22.04
Suppression des refeences à Windows
Ajout d'une banière

File Contents

# User Rev Content
1 francois 1158 //####//------------------------------------------------------------
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 francois 283 #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 francois 743 //OT_VECTEUR_4DD VCT_NUL(0.,0.,0.,0.);
54     //lst_vecteurs.insert(lst_vecteurs.end(), VCT_NUL);
55 francois 283 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