ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/reconstruction/src/sq_noeud.cpp
Revision: 1158
Committed: Thu Jun 13 22:18:49 2024 UTC (11 months, 1 week ago) by francois
File size: 1955 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     //####// sq_noeud.cpp
15     //####//
16     //####//------------------------------------------------------------
17     //####//------------------------------------------------------------
18     //####// COPYRIGHT 2000-2024
19     //####// jeu 13 jun 2024 11:58:56 EDT
20     //####//------------------------------------------------------------
21     //####//------------------------------------------------------------
22 amroune 999 #include "sq_noeud.h"
23    
24 amroune 1015
25 amroune 999 SQ_NOEUD::SQ_NOEUD(unsigned long num,MG_ELEMENT_TOPOLOGIQUE* topo,double xx,double yy,double zz,int origine):MG_NOEUD(num,topo,xx,yy,zz,origine)
26     {
27 amroune 1002 dir.change_x(0.);
28     dir.change_y(0.);
29     dir.change_z(0.);
30 amroune 999 }
31    
32    
33    
34     SQ_NOEUD::SQ_NOEUD(MG_ELEMENT_TOPOLOGIQUE* topo,double xx,double yy,double zz,int origine):MG_NOEUD(topo,xx,yy,zz,origine)
35     {
36 amroune 1002 dir.change_x(0.);
37     dir.change_y(0.);
38     dir.change_z(0.);
39 amroune 999 }
40    
41    
42    
43     SQ_NOEUD::SQ_NOEUD(SQ_NOEUD& mdd):MG_NOEUD(mdd)
44     {
45 amroune 1002 normal_section=mdd.normal_section;
46     dir=mdd.dir;
47 amroune 999 }
48    
49    
50    
51     SQ_NOEUD::~SQ_NOEUD()
52     {
53     }
54    
55    
56    
57     OT_VECTEUR_3D SQ_NOEUD::get_normal_section()
58     {
59     return normal_section;
60     }
61    
62    
63    
64 amroune 1002 OT_VECTEUR_3D SQ_NOEUD::get_dir()
65 amroune 999 {
66 amroune 1002 return dir;
67 amroune 999 }
68    
69    
70    
71     void SQ_NOEUD::change_normal_section(OT_VECTEUR_3D norm)
72     {
73     normal_section=norm;
74     }
75    
76    
77    
78    
79 amroune 1002 void SQ_NOEUD::change_dir(OT_VECTEUR_3D vec)
80 amroune 999 {
81 amroune 1002 dir=vec;
82 amroune 999 }