\section{lib/neatogen/hedges.h File Reference}
\label{hedges_8h}\index{lib/neatogen/hedges.\-h@{lib/neatogen/hedges.\-h}}
{\ttfamily \#include \char`\"{}site.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}edges.\-h\char`\"{}}\\*
Include dependency graph for hedges.\-h\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=156pt]{hedges_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{hedges_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct {\bf Halfedge}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf H\-E\-D\-G\-E\-S\-\_\-\-H}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct {\bf Halfedge} {\bf Halfedge}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf E\-Linitialize} (void)
\item 
void {\bf E\-Lcleanup} (void)
\item 
{\bf int} {\bf right\-\_\-of} ({\bf Halfedge} $\ast$, {\bf Point} $\ast$)
\item 
{\bf Site} $\ast$ {\bf hintersect} ({\bf Halfedge} $\ast$, {\bf Halfedge} $\ast$)
\item 
{\bf Halfedge} $\ast$ {\bf H\-Ecreate} ({\bf Edge} $\ast$, char)
\item 
void {\bf E\-Linsert} ({\bf Halfedge} $\ast$, {\bf Halfedge} $\ast$)
\item 
{\bf Halfedge} $\ast$ {\bf E\-Lleftbnd} ({\bf Point} $\ast$)
\item 
void {\bf E\-Ldelete} ({\bf Halfedge} $\ast$)
\item 
{\bf Halfedge} $\ast$ {\bf E\-Lleft} ({\bf Halfedge} $\ast$)
\item 
{\bf Halfedge} $\ast$ {\bf E\-Lright} ({\bf Halfedge} $\ast$)
\item 
{\bf Site} $\ast$ {\bf leftreg} ({\bf Halfedge} $\ast$)
\item 
{\bf Site} $\ast$ {\bf rightreg} ({\bf Halfedge} $\ast$)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
{\bf Halfedge} $\ast$ {\bf E\-Lleftend}
\item 
{\bf Halfedge} $\ast$ {\bf E\-Lrightend}
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{hedges.\-h@{hedges.\-h}!H\-E\-D\-G\-E\-S\-\_\-\-H@{H\-E\-D\-G\-E\-S\-\_\-\-H}}
\index{H\-E\-D\-G\-E\-S\-\_\-\-H@{H\-E\-D\-G\-E\-S\-\_\-\-H}!hedges.h@{hedges.\-h}}
\subsubsection[{H\-E\-D\-G\-E\-S\-\_\-\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define H\-E\-D\-G\-E\-S\-\_\-\-H}\label{hedges_8h_a48ea94198b3b3f88472e6c6daf2765b9}


Definition at line 21 of file hedges.\-h.



\subsection{Typedef Documentation}
\index{hedges.\-h@{hedges.\-h}!Halfedge@{Halfedge}}
\index{Halfedge@{Halfedge}!hedges.h@{hedges.\-h}}
\subsubsection[{Halfedge}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf Halfedge}  {\bf Halfedge}}\label{hedges_8h_ad6732864fc13ba5a7f87c45a2ed027c5}


\subsection{Function Documentation}
\index{hedges.\-h@{hedges.\-h}!E\-Lcleanup@{E\-Lcleanup}}
\index{E\-Lcleanup@{E\-Lcleanup}!hedges.h@{hedges.\-h}}
\subsubsection[{E\-Lcleanup}]{\setlength{\rightskip}{0pt plus 5cm}void E\-Lcleanup (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{hedges_8h_aa0f3562a9dfba66aea74af531003bfce}


Definition at line 28 of file hedges.\-c.



References freeinit(), and N\-U\-L\-L.

\index{hedges.\-h@{hedges.\-h}!E\-Ldelete@{E\-Ldelete}}
\index{E\-Ldelete@{E\-Ldelete}!hedges.h@{hedges.\-h}}
\subsubsection[{E\-Ldelete}]{\setlength{\rightskip}{0pt plus 5cm}void E\-Ldelete (
\begin{DoxyParamCaption}
\item[{{\bf Halfedge} $\ast$}]{}
\end{DoxyParamCaption}
)}\label{hedges_8h_a3397b4fb66f086f57316e5dbe1790039}


Definition at line 232 of file hedges.\-c.



References D\-E\-L\-E\-T\-E\-D, Halfedge\-::\-E\-Ledge, Halfedge\-::\-E\-Lleft, Halfedge\-::\-E\-Lright, and E\-Lright().



Referenced by voronoi().

\index{hedges.\-h@{hedges.\-h}!E\-Linitialize@{E\-Linitialize}}
\index{E\-Linitialize@{E\-Linitialize}!hedges.h@{hedges.\-h}}
\subsubsection[{E\-Linitialize}]{\setlength{\rightskip}{0pt plus 5cm}void E\-Linitialize (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{hedges_8h_a93e6df6d18c263829b994c8a29a6477e}


Definition at line 35 of file hedges.\-c.



References Halfedge\-::\-E\-Lleft, E\-Lleftend, Halfedge\-::\-E\-Lright, E\-Lrightend, freeinit(), H\-Ecreate(), N\-\_\-\-G\-N\-E\-W, N\-U\-L\-L, and sqrt\-\_\-nsites.



Referenced by voronoi().

\index{hedges.\-h@{hedges.\-h}!E\-Linsert@{E\-Linsert}}
\index{E\-Linsert@{E\-Linsert}!hedges.h@{hedges.\-h}}
\subsubsection[{E\-Linsert}]{\setlength{\rightskip}{0pt plus 5cm}void E\-Linsert (
\begin{DoxyParamCaption}
\item[{{\bf Halfedge} $\ast$}]{, }
\item[{{\bf Halfedge} $\ast$}]{}
\end{DoxyParamCaption}
)}\label{hedges_8h_ae98f67b66ba7b84f13fbc9549c4dcfdc}


Definition at line 160 of file hedges.\-c.



References E\-Lleft(), and Halfedge\-::\-E\-Lright.



Referenced by voronoi().

\index{hedges.\-h@{hedges.\-h}!E\-Lleft@{E\-Lleft}}
\index{E\-Lleft@{E\-Lleft}!hedges.h@{hedges.\-h}}
\subsubsection[{E\-Lleft}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Halfedge}$\ast$ E\-Lleft (
\begin{DoxyParamCaption}
\item[{{\bf Halfedge} $\ast$}]{}
\end{DoxyParamCaption}
)}\label{hedges_8h_a5bdacef82ff420fead7d4c4d5c95f5a1}
\index{hedges.\-h@{hedges.\-h}!E\-Lleftbnd@{E\-Lleftbnd}}
\index{E\-Lleftbnd@{E\-Lleftbnd}!hedges.h@{hedges.\-h}}
\subsubsection[{E\-Lleftbnd}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Halfedge}$\ast$ E\-Lleftbnd (
\begin{DoxyParamCaption}
\item[{{\bf Point} $\ast$}]{}
\end{DoxyParamCaption}
)}\label{hedges_8h_a700d4dc450a29c6c9f03d0fdd4003835}


Definition at line 186 of file hedges.\-c.



References deltax, Halfedge\-::\-E\-Lleft, Halfedge\-::\-E\-Lrefcnt, Halfedge\-::\-E\-Lright, N\-U\-L\-L, right\-\_\-of(), Point\-::x, and xmin.



Referenced by voronoi().

\index{hedges.\-h@{hedges.\-h}!E\-Lright@{E\-Lright}}
\index{E\-Lright@{E\-Lright}!hedges.h@{hedges.\-h}}
\subsubsection[{E\-Lright}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Halfedge} $\ast$ E\-Lright (
\begin{DoxyParamCaption}
\item[{{\bf Halfedge} $\ast$}]{}
\end{DoxyParamCaption}
)}\label{hedges_8h_abc06bf99a2d1d37603ee2cb5dc4b0fef}


Definition at line 240 of file hedges.\-c.



References Halfedge\-::\-E\-Lright.



Referenced by E\-Ldelete(), and voronoi().

\index{hedges.\-h@{hedges.\-h}!H\-Ecreate@{H\-Ecreate}}
\index{H\-Ecreate@{H\-Ecreate}!hedges.h@{hedges.\-h}}
\subsubsection[{H\-Ecreate}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Halfedge}$\ast$ H\-Ecreate (
\begin{DoxyParamCaption}
\item[{{\bf Edge} $\ast$}]{, }
\item[{char}]{}
\end{DoxyParamCaption}
)}\label{hedges_8h_af1fd063ebfb5832c29e4e5391450dd77}


Definition at line 147 of file hedges.\-c.



References Halfedge\-::\-E\-Ledge, Halfedge\-::\-E\-Lpm, Halfedge\-::\-E\-Lrefcnt, getfree(), N\-U\-L\-L, Halfedge\-::\-P\-Qnext, and Halfedge\-::vertex.



Referenced by E\-Linitialize(), and voronoi().

\index{hedges.\-h@{hedges.\-h}!hintersect@{hintersect}}
\index{hintersect@{hintersect}!hedges.h@{hedges.\-h}}
\subsubsection[{hintersect}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Site}$\ast$ hintersect (
\begin{DoxyParamCaption}
\item[{{\bf Halfedge} $\ast$}]{, }
\item[{{\bf Halfedge} $\ast$}]{}
\end{DoxyParamCaption}
)}\label{hedges_8h_a27cbc82e9de112273c4bd9c8288d07a9}


Definition at line 56 of file hedges.\-c.



References Edge\-::a, Edge\-::b, Edge\-::c, Site\-::coord, el(), Halfedge\-::\-E\-Ledge, Halfedge\-::\-E\-Lpm, getsite(), le, N\-U\-L\-L, re, Site\-::refcnt, Edge\-::reg, Point\-::x, and Point\-::y.



Referenced by voronoi().

\index{hedges.\-h@{hedges.\-h}!leftreg@{leftreg}}
\index{leftreg@{leftreg}!hedges.h@{hedges.\-h}}
\subsubsection[{leftreg}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Site}$\ast$ leftreg (
\begin{DoxyParamCaption}
\item[{{\bf Halfedge} $\ast$}]{}
\end{DoxyParamCaption}
)}\label{hedges_8h_ad3cac51a3822b53e4ad0ff0acdc31406}
\index{hedges.\-h@{hedges.\-h}!right\-\_\-of@{right\-\_\-of}}
\index{right\-\_\-of@{right\-\_\-of}!hedges.h@{hedges.\-h}}
\subsubsection[{right\-\_\-of}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} right\-\_\-of (
\begin{DoxyParamCaption}
\item[{{\bf Halfedge} $\ast$}]{, }
\item[{{\bf Point} $\ast$}]{}
\end{DoxyParamCaption}
)}\label{hedges_8h_af3aef02834425380540f789d083189d2}


Definition at line 100 of file hedges.\-c.



References Edge\-::a, Edge\-::b, Edge\-::c, Site\-::coord, coord(), Halfedge\-::\-E\-Ledge, Halfedge\-::\-E\-Lpm, le, re, Edge\-::reg, Point\-::x, pointf\-\_\-s\-::x, and Point\-::y.



Referenced by E\-Lleftbnd().

\index{hedges.\-h@{hedges.\-h}!rightreg@{rightreg}}
\index{rightreg@{rightreg}!hedges.h@{hedges.\-h}}
\subsubsection[{rightreg}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Site} $\ast$ rightreg (
\begin{DoxyParamCaption}
\item[{{\bf Halfedge} $\ast$}]{}
\end{DoxyParamCaption}
)}\label{hedges_8h_a5b97a2dd5a92237d4fac555d53c8ca97}


Definition at line 258 of file hedges.\-c.



References bottomsite, Halfedge\-::\-E\-Ledge, Halfedge\-::\-E\-Lpm, le, N\-U\-L\-L, re, and Edge\-::reg.



Referenced by voronoi().



\subsection{Variable Documentation}
\index{hedges.\-h@{hedges.\-h}!E\-Lleftend@{E\-Lleftend}}
\index{E\-Lleftend@{E\-Lleftend}!hedges.h@{hedges.\-h}}
\subsubsection[{E\-Lleftend}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Halfedge}$\ast$ E\-Lleftend}\label{hedges_8h_aa968dfa19b5282b22171aa0bc996498b}


Definition at line 21 of file hedges.\-c.



Referenced by E\-Linitialize(), and voronoi().

\index{hedges.\-h@{hedges.\-h}!E\-Lrightend@{E\-Lrightend}}
\index{E\-Lrightend@{E\-Lrightend}!hedges.h@{hedges.\-h}}
\subsubsection[{E\-Lrightend}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Halfedge} $\ast$ E\-Lrightend}\label{hedges_8h_a64b0347dcb521dfc249e15bea702f7bd}


Definition at line 21 of file hedges.\-c.



Referenced by E\-Linitialize(), and voronoi().

