liba2ri  0.2
 All Data Structures
edge.h
1 /*************************************/
2 /* Auteur : Rémi Synave */
3 /* Date de création : 01/03/07 */
4 /* Date de modification : 08/01/10 */
5 /* Version : 0.2 */
6 /*************************************/
7 
8 /***************************************************************************/
9 /* This file is part of a2ri. */
10 /* */
11 /* a2ri is free software: you can redistribute it and/or modify it */
12 /* under the terms of the GNU Lesser General Public License as published */
13 /* by the Free Software Foundation, either version 3 of the License, or */
14 /* (at your option) any later version. */
15 /* */
16 /* a2ri is distributed in the hope that it will be useful, */
17 /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
18 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
19 /* GNU Lesser General Public License for more details. */
20 /* */
21 /* You should have received a copy of the GNU Lesser General Public */
22 /* License along with a2ri. */
23 /* If not, see <http://www.gnu.org/licenses/>. */
24 /***************************************************************************/
25 
26 
27 
28 #ifndef EDGE__H
29 #define EDGE__H
30 
31 #include <stdio.h>
32 #include <stdlib.h>
33 
34 typedef struct
35 {
36  int ve1;
37  int ve2;
38  int *sharedfaces;
39  int nbsharedfaces;
40  int att_int;
41  double att_double;
42 } vf_edge;
43 
44 typedef struct
45 {
46  int ve1;
47  int ve2;
48  int *sharedfaces;
49  int nbsharedfaces;
50 } vef_edge;
51 
57 void vf_edge_display (
58  vf_edge e);
59 
65 void vf_edge_free (
66  vf_edge * e);
67 
73 void vef_edge_display (
74  vef_edge e);
75 
81 void vef_edge_free (
82  vef_edge * e);
83 
84 #endif