152 lines
6.4 KiB
XML
152 lines
6.4 KiB
XML
<?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="_base_8h" xml:lang="en-US">
|
|
<title>include/base.h File Reference</title>
|
|
<indexterm><primary>include/base.h</primary></indexterm>
|
|
<para>
|
|
|
|
<para>base header </para>
|
|
|
|
</para>
|
|
<programlisting linenumbering="unnumbered">#include <assert.h><?linebreak?>#include <errno.h><?linebreak?>#include <fcntl.h><?linebreak?>#include <math.h><?linebreak?>#include <stdio.h><?linebreak?>#include <stdlib.h><?linebreak?>#include <stddef.h><?linebreak?>#include <stdbool.h><?linebreak?>#include <sys/types.h><?linebreak?>#include <sys/stat.h><?linebreak?>#include <unistd.h><?linebreak?>#include <time.h><?linebreak?>#include <string.h><?linebreak?>#include <glib-2.0/glib.h><?linebreak?>#include <gtk-4.0/gtk/gtk.h><?linebreak?></programlisting>Include dependency graph for base.h:<para>
|
|
<informalfigure>
|
|
<mediaobject>
|
|
<imageobject>
|
|
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="../../da/d0e/base_8h__incl.png"></imagedata>
|
|
</imageobject>
|
|
</mediaobject>
|
|
</informalfigure>
|
|
</para>
|
|
This graph shows which files directly or indirectly include this file:<para>
|
|
<informalfigure>
|
|
<mediaobject>
|
|
<imageobject>
|
|
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="../../d7/d04/base_8h__dep__incl.png"></imagedata>
|
|
</imageobject>
|
|
</mediaobject>
|
|
</informalfigure>
|
|
</para>
|
|
<simplesect>
|
|
<title>Classes </title>
|
|
<itemizedlist>
|
|
<listitem><para>struct <link linkend="_structarrow__t">arrow_t</link></para>
|
|
|
|
<para>defines an arrow address </para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</simplesect>
|
|
<simplesect>
|
|
<title>Macros </title>
|
|
<itemizedlist>
|
|
<listitem><para>#define <link linkend="_base_8h_1a072a1ef1143314441742097b799be322">EAST</link>   0</para>
|
|
|
|
<para>If I'm standing on Earth (or any spinning spheroid), looking towards its North pole. </para>
|
|
</listitem>
|
|
<listitem><para>#define <link linkend="_base_8h_1a755da365a2f771fdb9e15af22fee7d74">WEST</link>   1</para>
|
|
</listitem>
|
|
<listitem><para>#define <link linkend="_base_8h_1a695b59c40e575e69cc7954a6045e01c7">ZENITH</link>   2</para>
|
|
</listitem>
|
|
<listitem><para>#define <link linkend="_base_8h_1a30dddfc4f2f483921921304d1d498674">NADIR</link>   3</para>
|
|
</listitem>
|
|
<listitem><para>#define <link linkend="_base_8h_1af3830320fe6287f717dca9669f417950">SOUTH</link>   4</para>
|
|
</listitem>
|
|
<listitem><para>#define <link linkend="_base_8h_1a1711232abf72723b5216c206e6bbb175">NORTH</link>   5</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</simplesect>
|
|
<simplesect>
|
|
<title>Enumerations </title>
|
|
<itemizedlist>
|
|
<listitem><para><anchor xml:id="_base_8h_1a06fc87d81c62e9abb8790b6e5713c55b"/>enum { <emphasis role="strong">X_AXIS</emphasis>
|
|
, <emphasis role="strong">Y_AXIS</emphasis>
|
|
, <emphasis role="strong">Z_AXIS</emphasis>
|
|
, <emphasis role="strong">N_AXIS</emphasis>
|
|
}</para>
|
|
|
|
<para>used by <link linkend="_graphics_8h">graphics.h</link> </para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</simplesect>
|
|
<section>
|
|
<title>Detailed Description</title>
|
|
|
|
<para>base header </para>
|
|
|
|
<para>This file is part of Gem-graph. </para>
|
|
</section>
|
|
<section>
|
|
<title>Macro Definition Documentation</title>
|
|
<anchor xml:id="_base_8h_1a072a1ef1143314441742097b799be322"/><section>
|
|
<title>EAST</title>
|
|
<indexterm><primary>EAST</primary><secondary>base.h</secondary></indexterm>
|
|
<indexterm><primary>base.h</primary><secondary>EAST</secondary></indexterm>
|
|
<para><computeroutput>#define EAST   0</computeroutput></para><para>
|
|
|
|
<para>If I'm standing on Earth (or any spinning spheroid), looking towards its North pole. </para>
|
|
</para>
|
|
|
|
<para>Then :</para>
|
|
|
|
<para>X - X = EAST - WEST = red - cyan Y - Y = ZENITH - NADIR = green - magenta (fuschia) Z - Z = NORTH - SOUTH = blue - yellow<itemizedlist>
|
|
<listitem>
|
|
<para>x red </para>
|
|
</listitem></itemizedlist>
|
|
</para>
|
|
</section>
|
|
<anchor xml:id="_base_8h_1a30dddfc4f2f483921921304d1d498674"/><section>
|
|
<title>NADIR</title>
|
|
<indexterm><primary>NADIR</primary><secondary>base.h</secondary></indexterm>
|
|
<indexterm><primary>base.h</primary><secondary>NADIR</secondary></indexterm>
|
|
<para><computeroutput>#define NADIR   3</computeroutput></para>
|
|
<para><itemizedlist>
|
|
<listitem>
|
|
<para>y magenta </para>
|
|
</listitem></itemizedlist>
|
|
</para>
|
|
</section>
|
|
<anchor xml:id="_base_8h_1a1711232abf72723b5216c206e6bbb175"/><section>
|
|
<title>NORTH</title>
|
|
<indexterm><primary>NORTH</primary><secondary>base.h</secondary></indexterm>
|
|
<indexterm><primary>base.h</primary><secondary>NORTH</secondary></indexterm>
|
|
<para><computeroutput>#define NORTH   5</computeroutput></para>
|
|
<para><itemizedlist>
|
|
<listitem>
|
|
<para>z yellow </para>
|
|
</listitem></itemizedlist>
|
|
</para>
|
|
</section>
|
|
<anchor xml:id="_base_8h_1af3830320fe6287f717dca9669f417950"/><section>
|
|
<title>SOUTH</title>
|
|
<indexterm><primary>SOUTH</primary><secondary>base.h</secondary></indexterm>
|
|
<indexterm><primary>base.h</primary><secondary>SOUTH</secondary></indexterm>
|
|
<para><computeroutput>#define SOUTH   4</computeroutput></para>
|
|
<para><itemizedlist>
|
|
<listitem>
|
|
<para>z blue </para>
|
|
</listitem></itemizedlist>
|
|
</para>
|
|
</section>
|
|
<anchor xml:id="_base_8h_1a755da365a2f771fdb9e15af22fee7d74"/><section>
|
|
<title>WEST</title>
|
|
<indexterm><primary>WEST</primary><secondary>base.h</secondary></indexterm>
|
|
<indexterm><primary>base.h</primary><secondary>WEST</secondary></indexterm>
|
|
<para><computeroutput>#define WEST   1</computeroutput></para>
|
|
<para><itemizedlist>
|
|
<listitem>
|
|
<para>x cyan </para>
|
|
</listitem></itemizedlist>
|
|
</para>
|
|
</section>
|
|
<anchor xml:id="_base_8h_1a695b59c40e575e69cc7954a6045e01c7"/><section>
|
|
<title>ZENITH</title>
|
|
<indexterm><primary>ZENITH</primary><secondary>base.h</secondary></indexterm>
|
|
<indexterm><primary>base.h</primary><secondary>ZENITH</secondary></indexterm>
|
|
<para><computeroutput>#define ZENITH   2</computeroutput></para>
|
|
<para><itemizedlist>
|
|
<listitem>
|
|
<para>y green </para>
|
|
</listitem></itemizedlist>
|
|
</para>
|
|
</section>
|
|
</section>
|
|
</section>
|