1 |
francois |
283 |
#include "gestionversion.h" |
2 |
|
|
//--------------------------------------------------------------------------- |
3 |
|
|
|
4 |
|
|
|
5 |
|
|
#pragma hdrstop |
6 |
|
|
#include<math.h> |
7 |
|
|
#include "vct_point.h" |
8 |
|
|
#include "mg_point.h" |
9 |
|
|
//--------------------------------------------------------------------------- |
10 |
|
|
#include <iomanip> |
11 |
|
|
#pragma package(smart_init) |
12 |
|
|
|
13 |
|
|
|
14 |
|
|
VCT_POINT::VCT_POINT(MG_POINT* elemgeo):VCT_ELEMENT_GEOMETRIQUE(elemgeo) |
15 |
|
|
{ |
16 |
|
|
int indx_premier_ptctr; |
17 |
|
|
|
18 |
|
|
TPL_LISTE_ENTITE<double> nurbs_params; |
19 |
|
|
elem_geo->get_param_NURBS(indx_premier_ptctr,nurbs_params); |
20 |
|
|
|
21 |
|
|
OT_VECTEUR_4DD V; |
22 |
|
|
V[0]=nurbs_params.get(indx_premier_ptctr+ 0); |
23 |
|
|
V[1]=nurbs_params.get(indx_premier_ptctr+ 1); |
24 |
|
|
V[2]=nurbs_params.get(indx_premier_ptctr+ 2); |
25 |
|
|
V[3]=nurbs_params.get(indx_premier_ptctr+ 3); |
26 |
|
|
lst_points.insert(lst_points.end(),V); |
27 |
francois |
743 |
// OT_VECTEUR_4DD VCT_NUL(0.,0.,0.,0.); |
28 |
|
|
// lst_vecteurs.insert(lst_vecteurs.end(), VCT_NUL); |
29 |
francois |
283 |
construire_forme_tensorielle(); |
30 |
|
|
} |
31 |
|
|
|
32 |
|
|
|
33 |
|
|
VCT_POINT::VCT_POINT(VCT_POINT& mdd):VCT_ELEMENT_GEOMETRIQUE(mdd.elem_geo) |
34 |
|
|
{ |
35 |
|
|
|
36 |
|
|
} |
37 |
|
|
|
38 |
|
|
|
39 |
|
|
VCT_POINT::~ VCT_POINT() |
40 |
|
|
{ |
41 |
|
|
|
42 |
|
|
} |
43 |
|
|
|
44 |
|
|
|