58#define CT_MAGIC 0x000000ab
59#define CT_MAGIC_SWAP 0xab000000
154#define c_nmax fc_s0.ct_nmax
155#define c_nb fc_s0.ct_nb
156#define c_nbsi fc_s0.ct_nbsi
157#define c_nbs fc_s0.ct_nbs
158#define c_si1 fc_s0.ct_si1
159#define c_sin fc_s0.ct_sin
160#define c_dat1 fc_s0.ct_dat1
161#define c_fdat fc_s0.ct_fdat
162#define c_magic fc_s0.ct_magic
163#define c_stot fc_s0.ct_stot
164#define c_stote fc_s0.ct_stote
165#define c_npmax fc_s0.ct_npmax
168 int cnt_min, cnt_max;
172#define swap2(x,y) { x = y; y = ((x >> 8) & 0xff) | (x << 8); }
173#define swap4(x,y) { x = y;\
174y = (x << 24) | ((x & 0xff00) << 8) | ((x >> 8) & 0xff00) | ((x >> 24) & 0xff);}
198 Fort_int *nbct, Fort_int *npmax,
199 Fort_int *nblocs, Fort_int *iftyp);
202 Fort_int *iext, Fort_int *lgr, int4* par,
203 int npmax, Fort_int *np);
211void c_wrctls(
struct fc_cont *nfc,
int n, int4 *list,
int i0,
int lgbl,
int iop);
void c_wrctev(struct fc_cont *nfc, int n, int iext)
Écriture du numéro d'enveloppe d'un contour.
Definition: wrcttb.c:109
void c_wrcttb(struct fc_cont *nfc, int n, int4 *icont, int lgr)
Écriture des éléments d'un contour.
Definition: wrcttb.c:223
int c_ircttb(struct fc_cont *nfc, int n, int4 *icont, int lgmax)
Lit les éléments d'un contour.
Definition: ircttb.c:235
int c_irctdm(struct fc_cont *nfc, int4 *ixy0, int4 *idimxy)
Lecture des coordonnées de la fenêtre originale (s'ils existent).
Definition: ircttb.c:119
void c_wctdim(struct fc_cont *nfc, int4 *ixy0, int4 *idimxy)
Écrire ou réécrire en commentaire dans le fichier de contours la taille de la fenêtre analysée.
Definition: wrcttb.c:83
int c_irctgp(struct fc_cont *nfc, Fort_int *numax, Fort_int *nbct, Fort_int *npmax, Fort_int *nblocs, Fort_int *iftyp)
Lecture des informations générales d'un fichier de contours.
Definition: ircttb.c:51
int c_irctcm(struct fc_cont *nfc, char *icom)
Lecture du commentaire d'un fichier de contours.
Definition: ircttb.c:82
struct fc_cont * c_iouvct(char *nom, int age, char *acces)
Ouverture d'un fichier de contours.
Definition: iouvct.c:61
void c_ctdel(struct fc_cont *nfc, int n)
Suppression d'un contour.
Definition: wrcttb.c:449
int c_irctpa(struct fc_cont *nfc, int num, Fort_int *isens, Fort_int *iext, Fort_int *lgr, int4 *par, int npmax, Fort_int *np)
Lecture des paramètres d'un contour.
Definition: ircttb.c:168
void c_wrctpa(struct fc_cont *nfc, int n, int4 *par, int np)
Écriture des paramètres d'un contour.
Definition: wrcttb.c:159
void c_wctcom(struct fc_cont *nfc, char *icom)
Écriture d'un commentaire dans un fichier contours.
Definition: wrcttb.c:45
void c_fermct(struct fc_cont *nfc)
Fermeture d'un fichier de contours.
Definition: iouvct.c:206
Definition: contour.h:104
Definition: contour.h:167
Descripteur de fichier de contours.
Definition: contour.h:113
char ct_loc
Definition: contour.h:127
int4 fc_numf
Definition: contour.h:115
int4 fc_numx
Definition: contour.h:125
char fc_posp
Definition: contour.h:135
int4 fc_num
Definition: contour.h:123
int4 s_ind
Definition: contour.h:117
int4 fc_nbwr
Definition: contour.h:138
char fc_name[80]
Definition: contour.h:144
int4 s_dat
Definition: contour.h:118
int4 * pt_datn
Definition: contour.h:119
int4 fc_fd
Definition: contour.h:114
char fc_typ
Definition: contour.h:133
int4 fc_dat[64]
Definition: contour.h:147
struct ct_indx fc_indx
Definition: contour.h:146
char flg_s0
Definition: contour.h:141
char fc_posp2
Definition: contour.h:136
char flg_d
Definition: contour.h:140
char fc_flag
Definition: contour.h:132
char fc_access
Definition: contour.h:142
int4 fc_numd
Definition: contour.h:124
char fc_swap_needed
Definition: contour.h:134
int4 n_ind
Definition: contour.h:116
int4 ct_pos
Definition: contour.h:121
int4 ct_lgr
Definition: contour.h:126
char flg_i
Definition: contour.h:139
int4 i_dat
Definition: contour.h:120