\section{lib/neatogen/edges.c File Reference}
\label{edges_8c}\index{lib/neatogen/edges.\-c@{lib/neatogen/edges.\-c}}
{\ttfamily \#include \char`\"{}neato.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}mem.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}info.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}edges.\-h\char`\"{}}\\*
{\ttfamily \#include $<$math.\-h$>$}\\*
Include dependency graph for edges.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{edges_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf edgeinit} ()
\item 
{\bf Edge} $\ast$ {\bf gvbisect} ({\bf Site} $\ast${\bf s1}, {\bf Site} $\ast$s2)
\item 
void {\bf clip\-\_\-line} ({\bf Edge} $\ast$e)
\item 
void {\bf endpoint} ({\bf Edge} $\ast$e, {\bf int} lr, {\bf Site} $\ast${\bf s})
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
double {\bf pxmin}
\item 
double {\bf pxmax}
\item 
double {\bf pymin}
\item 
double {\bf pymax}
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\index{edges.\-c@{edges.\-c}!clip\-\_\-line@{clip\-\_\-line}}
\index{clip\-\_\-line@{clip\-\_\-line}!edges.c@{edges.\-c}}
\subsubsection[{clip\-\_\-line}]{\setlength{\rightskip}{0pt plus 5cm}void clip\-\_\-line (
\begin{DoxyParamCaption}
\item[{{\bf Edge} $\ast$}]{e}
\end{DoxyParamCaption}
)}\label{edges_8c_aae944841046739aec554973f987abbfb}


Definition at line 79 of file edges.\-c.



References Edge\-::a, Edge\-::b, Edge\-::c, Site\-::coord, Edge\-::ep, N\-U\-L\-L, pxmax, pxmin, pymax, pymin, s1(), Point\-::x, and Point\-::y.



Referenced by endpoint(), and voronoi().

\index{edges.\-c@{edges.\-c}!edgeinit@{edgeinit}}
\index{edgeinit@{edgeinit}!edges.c@{edges.\-c}}
\subsubsection[{edgeinit}]{\setlength{\rightskip}{0pt plus 5cm}void edgeinit (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{edges_8c_aa8274c61161b6838b0adcaef0440cc32}


Definition at line 26 of file edges.\-c.



References freeinit().



Referenced by voronoi().

\index{edges.\-c@{edges.\-c}!endpoint@{endpoint}}
\index{endpoint@{endpoint}!edges.c@{edges.\-c}}
\subsubsection[{endpoint}]{\setlength{\rightskip}{0pt plus 5cm}void endpoint (
\begin{DoxyParamCaption}
\item[{{\bf Edge} $\ast$}]{e, }
\item[{{\bf int}}]{lr, }
\item[{{\bf Site} $\ast$}]{s}
\end{DoxyParamCaption}
)}\label{edges_8c_a323815563f84f0e07baacaa24742de89}


Definition at line 199 of file edges.\-c.



References clip\-\_\-line(), deref(), Edge\-::ep, le, makefree(), N\-U\-L\-L, re, ref(), and Edge\-::reg.



Referenced by voronoi().

\index{edges.\-c@{edges.\-c}!gvbisect@{gvbisect}}
\index{gvbisect@{gvbisect}!edges.c@{edges.\-c}}
\subsubsection[{gvbisect}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Edge}$\ast$ gvbisect (
\begin{DoxyParamCaption}
\item[{{\bf Site} $\ast$}]{s1, }
\item[{{\bf Site} $\ast$}]{s2}
\end{DoxyParamCaption}
)}\label{edges_8c_a6ced10b802066c589462a68e201282ae}


Definition at line 32 of file edges.\-c.



References Edge\-::a, Edge\-::b, Edge\-::c, Site\-::coord, Edge\-::edgenbr, Edge\-::ep, getfree(), N\-U\-L\-L, ref(), Edge\-::reg, s1(), Point\-::x, and Point\-::y.



Referenced by voronoi().



\subsection{Variable Documentation}
\index{edges.\-c@{edges.\-c}!pxmax@{pxmax}}
\index{pxmax@{pxmax}!edges.c@{edges.\-c}}
\subsubsection[{pxmax}]{\setlength{\rightskip}{0pt plus 5cm}double pxmax}\label{edges_8c_ae79801b57fe271bcab146c644cb59e65}


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



Referenced by clip\-\_\-line().

\index{edges.\-c@{edges.\-c}!pxmin@{pxmin}}
\index{pxmin@{pxmin}!edges.c@{edges.\-c}}
\subsubsection[{pxmin}]{\setlength{\rightskip}{0pt plus 5cm}double pxmin}\label{edges_8c_a58a94884263292259daf7ee565d873c7}


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



Referenced by clip\-\_\-line().

\index{edges.\-c@{edges.\-c}!pymax@{pymax}}
\index{pymax@{pymax}!edges.c@{edges.\-c}}
\subsubsection[{pymax}]{\setlength{\rightskip}{0pt plus 5cm}double pymax}\label{edges_8c_a4744d8843f123c7a41e9039af97229be}


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



Referenced by clip\-\_\-line().

\index{edges.\-c@{edges.\-c}!pymin@{pymin}}
\index{pymin@{pymin}!edges.c@{edges.\-c}}
\subsubsection[{pymin}]{\setlength{\rightskip}{0pt plus 5cm}double pymin}\label{edges_8c_a004826e69a151e26c5d0a66c7f390ed4}


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



Referenced by clip\-\_\-line().

