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 |
|
|
// stedgeloop.h |
16 |
|
|
// |
17 |
|
|
//------------------------------------------------------------ |
18 |
|
|
//------------------------------------------------------------ |
19 |
|
|
// COPYRIGHT 2000 |
20 |
|
|
// Version du 02/03/2006 � 11H24 |
21 |
|
|
//------------------------------------------------------------ |
22 |
|
|
//------------------------------------------------------------ |
23 |
|
|
#ifndef _HEADER_STEDGELOOP_ |
24 |
|
|
#define _HEADER_STEDGELOOP_ |
25 |
|
|
|
26 |
|
|
#ifdef WINDOWS_VERSION |
27 |
|
|
#ifdef BUILT_DLL_STEPLIB |
28 |
|
|
#define DLLPORTSTEP __declspec(dllexport) |
29 |
|
|
#else |
30 |
|
|
#define DLLPORTSTEP __declspec(dllimport) |
31 |
|
|
#endif |
32 |
|
|
#else |
33 |
|
|
#define DLLPORTSTEP |
34 |
|
|
#endif |
35 |
|
|
|
36 |
|
|
|
37 |
|
|
#include <vector> |
38 |
|
|
#include "st_ident.h" |
39 |
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
class DLLPORTSTEP ST_EDGE_LOOP : public ST_IDENTIFICATEUR |
44 |
|
|
{ |
45 |
|
|
public : |
46 |
|
|
ST_EDGE_LOOP(long LigneCourante,std::string idori,std::vector<long> *edge_lopp); |
47 |
|
|
~ST_EDGE_LOOP(); |
48 |
|
|
|
49 |
|
|
virtual long get_nb_oriented_edge(void) ; |
50 |
|
|
virtual long get_id_oriented_edge(long numero) ; |
51 |
|
|
virtual void est_util(class ST_GESTIONNAIRE* gest); |
52 |
|
|
|
53 |
|
|
private: |
54 |
|
|
long nb_oriented_edge; |
55 |
|
|
long* id_oriented_edge; |
56 |
|
|
|
57 |
|
|
}; |
58 |
|
|
|
59 |
|
|
|
60 |
|
|
#endif |