MPQC 3.0.0-alpha
Loading...
Searching...
No Matches
implicit.h
1
2#ifndef _math_isosurf_implicit_h
3#define _math_isosurf_implicit_h
4
5namespace 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
27extern "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
Contains all MPQC code up to version 3.
Definition mpqcin.h:14
Definition implicit.h:8
Definition implicit.h:12
Definition implicit.h:16

Generated at Wed Sep 25 2024 02:45:30 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.12.0.