MPQC
2.3.1
src
lib
math
isosurf
implicit.h
1
2
#ifndef _math_isosurf_implicit_h
3
#define _math_isosurf_implicit_h
4
5
typedef
struct
point
{
/* a three-dimensional point */
6
double
x, y, z;
/* its coordinates */
7
}
POINT
;
8
9
typedef
struct
vertex
{
/* surface vertex */
10
POINT
position, normal;
/* position and surface normal */
11
}
VERTEX
;
12
13
typedef
struct
vertices
{
/* list of vertices in polygonization */
14
int
count, max;
/* # vertices, max # allowed */
15
VERTEX
*ptr;
/* dynamically allocated */
16
}
VERTICES
;
17
18
#define TET 0
/* use tetrahedral decomposition */
19
#define NOTET 1
/* no tetrahedral decomposition */
20
21
extern
"C"
{
22
char
* polygonize(
double
(*
function
)(
double
,
double
,
double
),
23
double
size,
int
bounds,
24
double
x,
double
y,
double
z,
25
int
(*triproc)(
int
,
int
,
int
,
VERTICES
),
int
mode);
26
}
27
28
#endif
point
Definition:
implicit.h:5
vertices
Definition:
implicit.h:13
vertex
Definition:
implicit.h:9
Generated at Sun Jan 26 2020 23:33:03 for
MPQC
2.3.1 using the documentation package
Doxygen
1.8.16.