ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/step/src/storiedge.cpp
Revision: 5
Committed: Tue Jun 12 20:26:34 2007 UTC (17 years, 11 months ago)
Original Path: magic/lib/step/step/src/storiedge.cpp
File size: 1628 byte(s)
Log Message:

File Contents

# User Rev Content
1 5 //------------------------------------------------------------
2     //------------------------------------------------------------
3     // MAGiC
4     // Jean Christophe Cuillière et Vincent FRANCOIS
5     // Département de Génie Mécanique - UQTR
6     //------------------------------------------------------------
7     // Le projet MAGIC est un projet de recherche du département
8     // de génie mécanique de l'Université du Québec à
9     // Trois Rivières
10     // Les librairies ne peuvent être utilisées sans l'accord
11     // des auteurs (contact : francois@uqtr.ca)
12     //------------------------------------------------------------
13     //------------------------------------------------------------
14     //
15     // storiedge.cpp
16     //
17     //------------------------------------------------------------
18     //------------------------------------------------------------
19     // COPYRIGHT 2000
20     // Version du 02/03/2006 à 11H24
21     //------------------------------------------------------------
22     //------------------------------------------------------------
23    
24    
25     #include "gestionversion.h"
26    
27     #include <string.h>
28     #include "st_ident.h"
29     #include "storiedge.h"
30     #include "st_gestionnaire.h"
31    
32    
33     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)
34     {
35     }
36    
37    
38    
39     long ST_ORIENTED_EDGE::get_id_edge_curve(void)
40     {
41     return id_edge_curve;
42     }
43     int ST_ORIENTED_EDGE::get_orientation(void)
44     {
45     return orientation;
46     }
47    
48    
49    
50     void ST_ORIENTED_EDGE::est_util(ST_GESTIONNAIRE* gest)
51     {
52     util=true;
53     gest->lst_edgecurve.getid(id_edge_curve)->est_util(gest);
54     }