Mathc initiation/Fichiers c : c47ca
Installer ce fichier dans votre répertoire de travail.
![]() |
x_strct.h |
---|
/* --------------------------------- */
/* save as x_strct.h */
/* --------------------------------- */
typedef struct
{
int cols;
double *pb;
}p_x, *P_p;
/* --------------------------------- */
typedef struct
{
double x;
double y;
}point2d, *Ppoint2d;
/* --------------------------------- */
typedef struct
{
double x;
double z;
}point2d_xz, *Ppoint2d_xz;
/* --------------------------------- */
typedef struct
{
double y;
double z;
}point2d_yz, *Ppoint2d_yz;
/* --------------------------------- */
typedef struct
{
double x;
double y;
double z;
}point3d, *Ppoint3d;
/* --------------------------------- */
typedef struct
{
double i;
double j;
}vector2d, *Pvector2d;
/* --------------------------------- */
typedef struct
{
double i;
double j;
double k;
}vector3d, *Pvector3d;
/* --------------------------------- */
/* --------------------------------- */
Déclaration des fichiers h.