<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta name="robots" content="noindex"> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>implicit.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <!-- Generated by Doxygen 1.2.5 on Mon Oct 14 14:16:37 2002 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>implicit.h</h1><div class="fragment"><pre>00001 00002 <font class="preprocessor">#ifndef _math_isosurf_implicit_h</font> 00003 <font class="preprocessor"></font><font class="preprocessor">#define _math_isosurf_implicit_h</font> 00004 <font class="preprocessor"></font> 00005 <font class="keyword">typedef</font> <font class="keyword">struct </font>point { <font class="comment">/* a three-dimensional point */</font> 00006 <font class="keywordtype">double</font> x, y, z; <font class="comment">/* its coordinates */</font> 00007 } POINT; 00008 00009 <font class="keyword">typedef</font> <font class="keyword">struct </font>vertex { <font class="comment">/* surface vertex */</font> 00010 POINT position, normal; <font class="comment">/* position and surface normal */</font> 00011 } VERTEX; 00012 00013 <font class="keyword">typedef</font> <font class="keyword">struct </font>vertices { <font class="comment">/* list of vertices in polygonization */</font> 00014 <font class="keywordtype">int</font> count, max; <font class="comment">/* # vertices, max # allowed */</font> 00015 VERTEX *ptr; <font class="comment">/* dynamically allocated */</font> 00016 } VERTICES; 00017 00018 <font class="preprocessor">#define TET 0 </font><font class="comment">/* use tetrahedral decomposition */</font> 00019 <font class="preprocessor">#define NOTET 1 </font><font class="comment">/* no tetrahedral decomposition */</font> 00020 00021 <font class="keyword">extern</font> <font class="stringliteral">"C"</font> { 00022 <font class="keywordtype">char</font> * polygonize(<font class="keywordtype">double</font>(*function)(<font class="keywordtype">double</font>,<font class="keywordtype">double</font>,<font class="keywordtype">double</font>), 00023 <font class="keywordtype">double</font> size, <font class="keywordtype">int</font> bounds, 00024 <font class="keywordtype">double</font> x, <font class="keywordtype">double</font> y, <font class="keywordtype">double</font> z, 00025 int(*triproc)(<font class="keywordtype">int</font>,<font class="keywordtype">int</font>,<font class="keywordtype">int</font>,VERTICES), <font class="keywordtype">int</font> mode); 00026 }; 00027 00028 <font class="preprocessor">#endif</font> </font></div></pre><hr> <address> <small> Generated at Mon Oct 14 14:16:37 2002 for <a href="http://aros.ca.sandia.gov/~cljanss/mpqc">MPQC</a> 2.1.2 using the documentation package <a href="http://www.stack.nl/~dimitri/doxygen/index.html">Doxygen</a> 1.2.5. </small> </address> </body> </html>