ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/addin/step/src/storiedge.cpp
Revision: 1156
Committed: Thu Jun 13 22:02:48 2024 UTC (14 months ago) by francois
File size: 1649 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     //####// storiedge.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 "st_ident.h"
27     #include "storiedge.h"
28     #include "st_gestionnaire.h"
29    
30    
31     ST_ORIENTED_EDGE::ST_ORIENTED_EDGE(long LigneCourante,std::string idori,long edge_curve,int sens):ST_IDENTIFICATEUR(LigneCourante,idori),id_edge_curve(edge_curve),orientation(sens)
32     {
33     }
34    
35    
36    
37     long ST_ORIENTED_EDGE::get_id_edge_curve(void)
38     {
39     return id_edge_curve;
40     }
41     int ST_ORIENTED_EDGE::get_orientation(void)
42     {
43     return orientation;
44     }
45    
46    
47    
48     void ST_ORIENTED_EDGE::est_util(ST_GESTIONNAIRE* gest)
49     {
50     util=true;
51     gest->lst_edgecurve.getid(id_edge_curve)->est_util(gest);
52     }