Mathc initiation/Fichiers c : c47cb
Installer ce fichier dans votre répertoire de travail.
![]() |
x_strcg.h |
---|
/* --------------------------------- */
/* save as x_strcg.h */
/* --------------------------------- */
typedef struct
{
double xmin;
double xmax;
double ymin;
double ymax;
double zmin;
double zmax;
double rot_x;
double rot_z;
double scale;
double scale_z;
}CTRL_splot;
/* --------------------------------- */
/* --------------------------------- */
CTRL_splot i_ctrl_splot(
double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax,
double rot_x,
double rot_z,
double scale,
double scale_z
)
{
CTRL_splot p;
p.xmin=xmin;
p.xmax=xmax;
p.ymin=ymin;
p.ymax=ymax;
p.zmin=zmin;
p.zmax=zmax;
p.rot_x=rot_x;
p.rot_z=rot_z;
p.scale=scale;
p.scale_z=scale_z;
return (p);
}
/* --------------------------------- */
/* --------------------------------- */
Déclaration des fichiers h.