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_point.cpp |
15 |
|
|
//####// |
16 |
|
|
//####//------------------------------------------------------------ |
17 |
|
|
//####//------------------------------------------------------------ |
18 |
|
|
//####// COPYRIGHT 2000-2024 |
19 |
|
|
//####// jeu 13 jun 2024 11:58:54 EDT |
20 |
|
|
//####//------------------------------------------------------------ |
21 |
|
|
//####//------------------------------------------------------------ |
22 |
francois |
283 |
#include "gestionversion.h" |
23 |
|
|
|
24 |
|
|
|
25 |
|
|
#pragma hdrstop |
26 |
|
|
#include<math.h> |
27 |
|
|
#include "vct_point.h" |
28 |
|
|
#include "mg_point.h" |
29 |
|
|
#include <iomanip> |
30 |
|
|
#pragma package(smart_init) |
31 |
|
|
|
32 |
|
|
|
33 |
|
|
VCT_POINT::VCT_POINT(MG_POINT* elemgeo):VCT_ELEMENT_GEOMETRIQUE(elemgeo) |
34 |
|
|
{ |
35 |
|
|
int indx_premier_ptctr; |
36 |
|
|
|
37 |
|
|
TPL_LISTE_ENTITE<double> nurbs_params; |
38 |
|
|
elem_geo->get_param_NURBS(indx_premier_ptctr,nurbs_params); |
39 |
|
|
|
40 |
|
|
OT_VECTEUR_4DD V; |
41 |
|
|
V[0]=nurbs_params.get(indx_premier_ptctr+ 0); |
42 |
|
|
V[1]=nurbs_params.get(indx_premier_ptctr+ 1); |
43 |
|
|
V[2]=nurbs_params.get(indx_premier_ptctr+ 2); |
44 |
|
|
V[3]=nurbs_params.get(indx_premier_ptctr+ 3); |
45 |
|
|
lst_points.insert(lst_points.end(),V); |
46 |
francois |
743 |
// OT_VECTEUR_4DD VCT_NUL(0.,0.,0.,0.); |
47 |
|
|
// lst_vecteurs.insert(lst_vecteurs.end(), VCT_NUL); |
48 |
francois |
283 |
construire_forme_tensorielle(); |
49 |
|
|
} |
50 |
|
|
|
51 |
|
|
|
52 |
|
|
VCT_POINT::VCT_POINT(VCT_POINT& mdd):VCT_ELEMENT_GEOMETRIQUE(mdd.elem_geo) |
53 |
|
|
{ |
54 |
|
|
|
55 |
|
|
} |
56 |
|
|
|
57 |
|
|
|
58 |
|
|
VCT_POINT::~ VCT_POINT() |
59 |
|
|
{ |
60 |
|
|
|
61 |
|
|
} |
62 |
|
|
|
63 |
|
|
|