1 /********************************************************************/
2 /* STRIPE: converting a polygonal model to triangle strips
5 Advisors: Steven Skiena and Amitabh Varshney
7 /********************************************************************/
9 /*---------------------------------------------------------------------*/
11 -----------------------------------------------------------------------*/
13 #define EVEN(x) (((x) & 1) == 0)
15 int Get_EdgeEx(int *edge1,int *edge2,int *index,int face_id,
16 int size, int id1, int id2);
18 void Update_FaceEx(int *next_bucket, int *min_face, int face_id, int *e1,
19 int *e2,int temp1,int temp2,int *ties);
20 int Min_Face_AdjEx(int face_id, int *next_bucket, int *ties);
21 int Change_FaceEx(int face_id,int in1,int in2,
22 ListHead *pListHead, P_ADJACENCIES temp, BOOL no_check);
23 void Delete_AdjEx(int id1, int id2,int *next_bucket,int *min_face,
24 int current_face,int *e1,int *e2,int *ties);
26 int Update_AdjacenciesEx(int face_id, int *next_bucket, int *e1, int *e2,