\section{link\_\-treerings.c File Reference}
\label{link__treerings_8c}\index{link_treerings.c@{link\_\-treerings.c}}
{\tt \#include \char`\"{}sadie.h\char`\"{}}\par
{\tt \#include \char`\"{}proto.h\char`\"{}}\par
\subsection*{Data Structures}
\begin{CompactItemize}
\item 
struct {\bf FRAGMENT}
\item 
struct {\bf RECONSTRUCT}
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
void {\bf LINK\_\-TREERINGS} ({\bf IMAGE} $\ast$in, int discardedges, {\bf IMAGE} $\ast$$\ast$fillgaps, {\bf IMAGE} $\ast$$\ast${\bf out})
\item 
void {\bf quicksort} (array, {\bf left}, {\bf right}) int $\ast$array
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
int $\ast$$\ast$ {\bf x\_\-array\_\-buffer}
\item 
int {\bf point}
\item 
int {\bf count\_\-point}
\item 
void {\bf left}
\item 
void {\bf right}
\end{CompactItemize}


\subsection{Function Documentation}
\index{link_treerings.c@{link\_\-treerings.c}!LINK_TREERINGS@{LINK\_\-TREERINGS}}
\index{LINK_TREERINGS@{LINK\_\-TREERINGS}!link_treerings.c@{link\_\-treerings.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void LINK\_\-TREERINGS ({\bf IMAGE} $\ast$ {\em in}, int {\em discardedges}, {\bf IMAGE} $\ast$$\ast$ {\em fillgaps}, {\bf IMAGE} $\ast$$\ast$ {\em out})}\label{link__treerings_8c_a5}




Definition at line 46 of file link\_\-treerings.c.

References FRAGMENT::avgpos, RECONSTRUCT::bottom, FRAGMENT::bottomx, FRAGMENT::bottomy, brshnm, CHECKIMG, CMPLBL8, count\_\-point, IMAGE::data, FRAGMENT::deleted, GETMEM, IMAGE::gmax, RECONSTRUCT::last, FRAGMENT::linked, malloc, MESSAGE, min, IMAGE::nbnd, IMAGE::nlin, IMAGE::npix, FRAGMENT::numpix, out, point, quicksort, quicksort2, RANGE, RELIMG, FRAGMENT::ringlbl, rnd, SLEN, IMAGE::text, RECONSTRUCT::top, FRAGMENT::topx, FRAGMENT::topy, FRAGMENT::valid, and x\_\-array\_\-buffer.\index{link_treerings.c@{link\_\-treerings.c}!quicksort@{quicksort}}
\index{quicksort@{quicksort}!link_treerings.c@{link\_\-treerings.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void quicksort (array, {\bf left}, {\bf right})}\label{link__treerings_8c_a6}




\subsection{Variable Documentation}
\index{link_treerings.c@{link\_\-treerings.c}!count_point@{count\_\-point}}
\index{count_point@{count\_\-point}!link_treerings.c@{link\_\-treerings.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int count\_\-point}\label{link__treerings_8c_a2}




Definition at line 11 of file link\_\-treerings.c.

Referenced by LINK\_\-TREERINGS.\index{link_treerings.c@{link\_\-treerings.c}!left@{left}}
\index{left@{left}!link_treerings.c@{link\_\-treerings.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}left}\label{link__treerings_8c_a3}




Definition at line 727 of file link\_\-treerings.c.

Referenced by MOSAIC\_\-IMPORT, and Sadie\_\-TREES\_\-Update\-ROICmd.\index{link_treerings.c@{link\_\-treerings.c}!point@{point}}
\index{point@{point}!link_treerings.c@{link\_\-treerings.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int point}\label{link__treerings_8c_a1}




Definition at line 10 of file link\_\-treerings.c.

Referenced by LINK\_\-TREERINGS.\index{link_treerings.c@{link\_\-treerings.c}!right@{right}}
\index{right@{right}!link_treerings.c@{link\_\-treerings.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}right}\label{link__treerings_8c_a4}




Definition at line 727 of file link\_\-treerings.c.

Referenced by Sadie\_\-TREES\_\-Update\-ROICmd.\index{link_treerings.c@{link\_\-treerings.c}!x_array_buffer@{x\_\-array\_\-buffer}}
\index{x_array_buffer@{x\_\-array\_\-buffer}!link_treerings.c@{link\_\-treerings.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int$\ast$$\ast$ x\_\-array\_\-buffer}\label{link__treerings_8c_a0}




Definition at line 9 of file link\_\-treerings.c.

Referenced by LINK\_\-TREERINGS.