ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/step/src/storiedge.cpp
Revision: 283
Committed: Tue Sep 13 21:11:20 2011 UTC (13 years, 8 months ago) by francois
File size: 1618 byte(s)
Log Message:
structure de l'écriture

File Contents

# User Rev Content
1 francois 283 //------------------------------------------------------------
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     }