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