update_edge.c
Go to the documentation of this file.
00001 /*     When an edge is outside a new hyperplane,             */
00002 /*     delete it from the edge table and update the pointers */
00003 
00004 #include "arith.h"
00005 
00006 int update_edge(linetab,en,start)
00007 LINE linetab[MAXEDGE];
00008 int en,start;
00009 {
00010    linetab[en].index= FALSE;
00011 
00012    if(en == start){
00013       start= linetab[start].next;
00014    }
00015    else{
00016       linetab[linetab[en].last].next=linetab[en].next;
00017       linetab[linetab[en].next].last=linetab[en].last;
00018    }
00019    return(start);
00020 }
00021 


euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Sep 3 2015 10:36:20