ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/addin/step/src/stfaceobound.cpp
Revision: 1156
Committed: Thu Jun 13 22:02:48 2024 UTC (14 months ago) by francois
File size: 1726 byte(s)
Log Message:
compatibilité Ubuntu 22.04
Suppression des refeences à Windows
Ajout d'une banière

File Contents

# User Rev Content
1 francois 1156 //####//------------------------------------------------------------
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     //####// stfaceobound.cpp
15     //####//
16     //####//------------------------------------------------------------
17     //####//------------------------------------------------------------
18     //####// COPYRIGHT 2000-2024
19     //####// jeu 13 jun 2024 11:53:59 EDT
20     //####//------------------------------------------------------------
21     //####//------------------------------------------------------------
22 francois 283
23    
24    
25     #include <string.h>
26     #include "stfaceobound.h"
27     #include "st_ident.h"
28     #include "st_gestionnaire.h"
29    
30    
31     ST_FACE_OUTER_BOUND::ST_FACE_OUTER_BOUND(int LigneCourante,std::string idori,int edge_loop,char *sens):ST_IDENTIFICATEUR(LigneCourante,idori),id_edge_loop(edge_loop)
32     {
33     if (strcmp(sens,"T")==0) orientation=1;
34     else orientation=(-1);
35     }
36    
37    
38     int ST_FACE_OUTER_BOUND::get_id_edge_loop(void) const
39     {
40     return id_edge_loop;
41     }
42     int ST_FACE_OUTER_BOUND::get_orientation(void) const
43     {
44     return orientation;
45     }
46    
47    
48     void ST_FACE_OUTER_BOUND::est_util(ST_GESTIONNAIRE* gest)
49     {
50     util=true;
51     gest->lst_edge_loop.getid(id_edge_loop)->est_util(gest);
52     }