face_init.c
Go to the documentation of this file.
1 #include "arith.h"
2 
3 face_init(linetab,m,r)
4 LINE linetab[MAXEDGE];
5 int m;
6 int r;
7 {
8  int i,en;
9 
10  en=0;
11  /* make rC2 face pointers among r edge */
12  for(i=0; i<r; i++){
13  if(i != m){
14  linetab[m].face[en]=i;
15  en += 1;
16  }
17  }
18  linetab[m].face[en]=EMPTY;
19 }
20 
#define EMPTY
Definition: arith.h:21
#define MAXEDGE
Definition: arith.h:14
face_init(linetab, int m, int r)
Definition: face_init.c:3
int face[MAXRANK]
Definition: arith.h:37
Definition: arith.h:33


euslisp
Author(s): Toshihiro Matsui
autogenerated on Fri Feb 21 2020 03:20:54