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 
FALSE
#define FALSE
Definition: arith.h:20
arith.h
update_edge
int update_edge(linetab, int en, int start)
Definition: update_edge.c:6
MAXEDGE
#define MAXEDGE
Definition: arith.h:14
line
Definition: arith.h:33
start
static time_stamp_t start
Definition: rgc_utils.c:75


euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Jun 15 2023 02:06:43