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 
arith.h
face_init
face_init(linetab, int m, int r)
Definition: face_init.c:3
line::face
int face[MAXRANK]
Definition: arith.h:37
MAXEDGE
#define MAXEDGE
Definition: arith.h:14
line
Definition: arith.h:33
EMPTY
#define EMPTY
Definition: arith.h:21


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