/usr/include/sc/math/isosurf/implicit.h is in libsc-dev 2.3.1-16build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #ifndef _math_isosurf_implicit_h
#define _math_isosurf_implicit_h
typedef struct point { /* a three-dimensional point */
double x, y, z; /* its coordinates */
} POINT;
typedef struct vertex { /* surface vertex */
POINT position, normal; /* position and surface normal */
} VERTEX;
typedef struct vertices { /* list of vertices in polygonization */
int count, max; /* # vertices, max # allowed */
VERTEX *ptr; /* dynamically allocated */
} VERTICES;
#define TET 0 /* use tetrahedral decomposition */
#define NOTET 1 /* no tetrahedral decomposition */
extern "C" {
char * polygonize(double(*function)(double,double,double),
double size, int bounds,
double x, double y, double z,
int(*triproc)(int,int,int,VERTICES), int mode);
}
#endif
|