<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_bspiral_8cpp">
<title>/Users/bernard/b20/bsoft/src/bspiral.cpp File Reference</title>
<indexterm><primary>/Users/bernard/b20/bsoft/src/bspiral.cpp</primary></indexterm>
<para>

<para>A tool to generate polyhedra using the spiral algorithm. </para>
 
</para>
<programlisting>#include &quot;rwmodel.h&quot;
#include &quot;model_poly.h&quot;
#include &quot;model_poly_spiral.h&quot;
#include &quot;model_transform.h&quot;
#include &quot;model_links.h&quot;
#include &quot;model_util.h&quot;
#include &quot;linked_list.h&quot;
#include &quot;utilities.h&quot;
#include &quot;options.h&quot;
#include &quot;timer.h&quot;
#include &lt;sys/stat.h&gt;
#include &lt;fcntl.h&gt;
</programlisting><simplesect>
    <title>Functions    </title>
        <itemizedlist>
            <listitem><para>int <link linkend="_bspiral_8cpp_1a3c04138a5bfe5d72780bb7e82a18e627">main</link> (int argc, char **argv)</para>
</listitem>
        </itemizedlist>
</simplesect>
<simplesect>
    <title>Variables    </title>
        <itemizedlist>
            <listitem><para>int <link linkend="_bspiral_8cpp_1a0b2caeb4b6f130be43e5a2f0267dd453">verbose</link></para>
</listitem>
            <listitem><para>const char * <link linkend="_bspiral_8cpp_1a4de0ad4c7190962494815c0fa7f948df">use</link> []</para>
</listitem>
        </itemizedlist>
</simplesect>
<section>
<title>Detailed Description</title>

<para>A tool to generate polyhedra using the spiral algorithm. </para>

<para><formalpara><title>Author: </title>

<para>Bernard Heymann </para>
</formalpara>
<formalpara><title>Date: </title>

<para>Created: 20071127 </para>

<para>Modified: 20080408 </para>
</formalpara>
</para>
</section>
<section>
<title>Function Documentation</title>
<anchor xml:id="_bspiral_8cpp_1a3c04138a5bfe5d72780bb7e82a18e627"/>    <section>
    <title>main()</title>
<indexterm><primary>main</primary><secondary>bspiral.cpp</secondary></indexterm>
<indexterm><primary>bspiral.cpp</primary><secondary>main</secondary></indexterm>
<para><computeroutput>int main (int argc, char ** argv)</computeroutput></para><para>
Definition at line 53 of file bspiral.cpp.</para>
</section>
</section>
<section>
<title>Variable Documentation</title>
<anchor xml:id="_bspiral_8cpp_1a4de0ad4c7190962494815c0fa7f948df"/>    <section>
    <title>use</title>
<indexterm><primary>use</primary><secondary>bspiral.cpp</secondary></indexterm>
<indexterm><primary>bspiral.cpp</primary><secondary>use</secondary></indexterm>
<para><computeroutput>const char* use[]</computeroutput></para><emphasis role="strong">Initial value:</emphasis><programlisting>=&#32;{
<emphasis role="stringliteral">&quot;&#32;&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Usage:&#32;bspiral&#32;[options]&#32;out.star&quot;</emphasis>,
<emphasis role="stringliteral">&quot;---------------------------------&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Generates&#32;a&#32;polyhedron&#32;using&#32;the&#32;spiral&#32;algorithm.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;&#32;&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Actions:&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-analyze&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Analyze&#32;the&#32;polyhedron.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-enantiomorph&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Generate&#32;the&#32;enantiomorph&#32;of&#32;the&#32;polyhedron.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-sequence&#32;5566665566565&#32;&#32;Sequence&#32;of&#32;polygons&#32;to&#32;use&#32;in&#32;stead&#32;of&#32;permutations.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-cone&#32;14,30,25&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Polygons&#32;to&#32;generate&#32;for&#32;the&#32;tip,&#32;body&#32;and&#32;base&#32;of&#32;a&#32;cone.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-lozenge&#32;2,7&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Unit&#32;lengths&#32;for&#32;the&#32;top&#32;and&#32;body&#32;of&#32;a&#32;lozenge.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-coffin&#32;3,5,2&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Unit&#32;lengths&#32;for&#32;the&#32;top,&#32;body&#32;and&#32;base&#32;of&#32;a&#32;coffin.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;&#32;&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Parameters:&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-verbose&#32;7&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Verbosity&#32;of&#32;output.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-vertices&#32;36&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Number&#32;of&#32;vertices&#32;(default&#32;20).&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-linklength&#32;150&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Vertex&#32;separation&#32;(default&#32;10&#32;A).&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-requirements&#32;0&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Polyhedron&#32;acceptance&#32;requirements&#32;(default&#32;1&#32;=&#32;strict).&quot;</emphasis>,
<emphasis role="stringliteral">&quot;&#32;&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Input:&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-parameters&#32;parm.star&#32;&#32;&#32;&#32;Molecular&#32;parameter&#32;file&#32;(default&#32;atom_prop.star).&quot;</emphasis>,
<emphasis role="stringliteral">&quot;&#32;&quot;</emphasis>,
NULL
}
</programlisting><para>
Definition at line 27 of file bspiral.cpp.</para>
    </section><anchor xml:id="_bspiral_8cpp_1a0b2caeb4b6f130be43e5a2f0267dd453"/>    <section>
    <title>verbose</title>
<indexterm><primary>verbose</primary><secondary>bspiral.cpp</secondary></indexterm>
<indexterm><primary>bspiral.cpp</primary><secondary>verbose</secondary></indexterm>
<para><computeroutput>int verbose</computeroutput></para></section>
</section>
</section>
