update_edge.c
Go to the documentation of this file.
1 /* When an edge is outside a new hyperplane, */
2 /* delete it from the edge table and update the pointers */
3 
4 #include "arith.h"
5 
6 int update_edge(linetab,en,start)
7 LINE linetab[MAXEDGE];
8 int en,start;
9 {
10  linetab[en].index= FALSE;
11 
12  if(en == start){
13  start= linetab[start].next;
14  }
15  else{
16  linetab[linetab[en].last].next=linetab[en].next;
17  linetab[linetab[en].next].last=linetab[en].last;
18  }
19  return(start);
20 }
21 
#define MAXEDGE
Definition: arith.h:14
Definition: arith.h:33
#define FALSE
Definition: arith.h:20
static time_stamp_t start
Definition: rgc_utils.c:75
int update_edge(linetab, int en, int start)
Definition: update_edge.c:6


euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Jun 6 2019 20:00:44