\section{lib/neatogen/site.c File Reference}
\label{site_8c}\index{lib/neatogen/site.\-c@{lib/neatogen/site.\-c}}
{\ttfamily \#include \char`\"{}mem.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}site.\-h\char`\"{}}\\*
{\ttfamily \#include $<$math.\-h$>$}\\*
Include dependency graph for site.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=215pt]{site_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf siteinit} ()
\item 
{\bf Site} $\ast$ {\bf getsite} ()
\item 
double {\bf dist} ({\bf Site} $\ast${\bf s}, {\bf Site} $\ast$t)
\item 
void {\bf makevertex} ({\bf Site} $\ast$v)
\item 
void {\bf deref} ({\bf Site} $\ast$v)
\item 
void {\bf ref} ({\bf Site} $\ast$v)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
{\bf int} {\bf siteidx}
\item 
{\bf Site} $\ast$ {\bf bottomsite}
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\index{site.\-c@{site.\-c}!deref@{deref}}
\index{deref@{deref}!site.c@{site.\-c}}
\subsubsection[{deref}]{\setlength{\rightskip}{0pt plus 5cm}void deref (
\begin{DoxyParamCaption}
\item[{{\bf Site} $\ast$}]{v}
\end{DoxyParamCaption}
)}\label{site_8c_a7170762f533e1111c7c37d4afd7eb1a8}


Definition at line 63 of file site.\-c.



References makefree(), and Site\-::refcnt.



Referenced by endpoint(), P\-Qdelete(), and voronoi().

\index{site.\-c@{site.\-c}!dist@{dist}}
\index{dist@{dist}!site.c@{site.\-c}}
\subsubsection[{dist}]{\setlength{\rightskip}{0pt plus 5cm}double dist (
\begin{DoxyParamCaption}
\item[{{\bf Site} $\ast$}]{s, }
\item[{{\bf Site} $\ast$}]{t}
\end{DoxyParamCaption}
)}\label{site_8c_a7f6c83e8557e07c65979ce73138d4b2c}


Definition at line 41 of file site.\-c.



References Site\-::coord, Point\-::x, and Point\-::y.



Referenced by average\-\_\-edge\-\_\-length(), diffeq\-\_\-model(), distance(), distance\-\_\-cropped(), distvec(), edgelist\-\_\-export(), embed\-\_\-graph(), get\-\_\-stress(), pcp\-\_\-rotate(), place\-\_\-portlabel(), point\-\_\-distance(), pt\-Vis(), Quad\-Tree\-\_\-get\-\_\-supernodes\-\_\-internal(), Sparse\-Stress\-Majorization\-Smoother\-\_\-new(), spring\-\_\-electrical\-\_\-embedding(), spring\-\_\-electrical\-\_\-embedding\-\_\-fast(), spring\-\_\-electrical\-\_\-embedding\-\_\-slow(), spring\-\_\-electrical\-\_\-spring\-\_\-embedding(), spring\-\_\-maxent\-\_\-embedding(), Stress\-Majorization\-Smoother2\-\_\-new(), Stress\-Majorization\-Smoother\-\_\-smooth(), taper(), Triangle\-Smoother\-\_\-new(), Uniform\-Stress\-Smoother\-\_\-new(), update\-\_\-arrays(), and voronoi().

\index{site.\-c@{site.\-c}!getsite@{getsite}}
\index{getsite@{getsite}!site.c@{site.\-c}}
\subsubsection[{getsite}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Site}$\ast$ getsite (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{site_8c_ab96dbf17cc30463867d3212151504357}


Definition at line 36 of file site.\-c.



References getfree().



Referenced by hintersect().

\index{site.\-c@{site.\-c}!makevertex@{makevertex}}
\index{makevertex@{makevertex}!site.c@{site.\-c}}
\subsubsection[{makevertex}]{\setlength{\rightskip}{0pt plus 5cm}void makevertex (
\begin{DoxyParamCaption}
\item[{{\bf Site} $\ast$}]{v}
\end{DoxyParamCaption}
)}\label{site_8c_ad713e5b05e2aabc21270b4bb96296a1d}


Definition at line 53 of file site.\-c.



References Site\-::sitenbr.



Referenced by voronoi().

\index{site.\-c@{site.\-c}!ref@{ref}}
\index{ref@{ref}!site.c@{site.\-c}}
\subsubsection[{ref}]{\setlength{\rightskip}{0pt plus 5cm}void ref (
\begin{DoxyParamCaption}
\item[{{\bf Site} $\ast$}]{v}
\end{DoxyParamCaption}
)}\label{site_8c_a52535feb05f110cf3f028ea2eb8615dc}


Definition at line 70 of file site.\-c.



References Site\-::refcnt.



Referenced by endpoint(), gvbisect(), and P\-Qinsert().

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


Definition at line 25 of file site.\-c.



References freeinit().



Referenced by voronoi().



\subsection{Variable Documentation}
\index{site.\-c@{site.\-c}!bottomsite@{bottomsite}}
\index{bottomsite@{bottomsite}!site.c@{site.\-c}}
\subsubsection[{bottomsite}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Site}$\ast$ bottomsite}\label{site_8c_a94c5c239e99b1417866a4fb7abbd949e}


Definition at line 20 of file site.\-c.



Referenced by leftreg(), rightreg(), and voronoi().

\index{site.\-c@{site.\-c}!siteidx@{siteidx}}
\index{siteidx@{siteidx}!site.c@{site.\-c}}
\subsubsection[{siteidx}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} siteidx}\label{site_8c_a30b99c788e7819a78468aea9e8abb7db}


Definition at line 19 of file site.\-c.

