\section{lib/twopigen/circle.h File Reference}
\label{circle_8h}\index{lib/twopigen/circle.\-h@{lib/twopigen/circle.\-h}}
{\ttfamily \#include \char`\"{}render.\-h\char`\"{}}\\*
Include dependency graph for circle.\-h\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{circle_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=282pt]{circle_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct {\bf rdata}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf R\-D\-A\-T\-A}(n)~(({\bf rdata}$\ast$)({\bf N\-D\-\_\-alg}(n)))
\item 
\#define {\bf S\-L\-E\-A\-F}(n)~({\bf R\-D\-A\-T\-A}(n)-\/$>$n\-Steps\-To\-Leaf)
\item 
\#define {\bf S\-T\-S\-I\-Z\-E}(n)~({\bf R\-D\-A\-T\-A}(n)-\/$>$subtree\-Size)
\item 
\#define {\bf N\-C\-H\-I\-L\-D}(n)~({\bf R\-D\-A\-T\-A}(n)-\/$>$n\-Children)
\item 
\#define {\bf S\-C\-E\-N\-T\-E\-R}(n)~({\bf R\-D\-A\-T\-A}(n)-\/$>$n\-Steps\-To\-Center)
\item 
\#define {\bf S\-P\-A\-R\-E\-N\-T}(n)~({\bf R\-D\-A\-T\-A}(n)-\/$>${\bf parent})
\item 
\#define {\bf S\-P\-A\-N}(n)~({\bf R\-D\-A\-T\-A}(n)-\/$>$span)
\item 
\#define {\bf T\-H\-E\-T\-A}(n)~({\bf R\-D\-A\-T\-A}(n)-\/$>$theta)
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Agnode\-\_\-t} $\ast$ {\bf circle\-Layout} ({\bf Agraph\-\_\-t} $\ast$sg, {\bf Agnode\-\_\-t} $\ast$center)
\item 
void {\bf twopi\-\_\-layout} ({\bf Agraph\-\_\-t} $\ast$g)
\item 
void {\bf twopi\-\_\-cleanup} ({\bf Agraph\-\_\-t} $\ast$g)
\item 
void {\bf twopi\-\_\-init\-\_\-graph} ({\bf graph\-\_\-t} $\ast$g)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{circle.\-h@{circle.\-h}!N\-C\-H\-I\-L\-D@{N\-C\-H\-I\-L\-D}}
\index{N\-C\-H\-I\-L\-D@{N\-C\-H\-I\-L\-D}!circle.h@{circle.\-h}}
\subsubsection[{N\-C\-H\-I\-L\-D}]{\setlength{\rightskip}{0pt plus 5cm}\#define N\-C\-H\-I\-L\-D(
\begin{DoxyParamCaption}
\item[{}]{n}
\end{DoxyParamCaption}
)~({\bf R\-D\-A\-T\-A}(n)-\/$>$n\-Children)}\label{circle_8h_a6eddc635fc5830fabb4e2afaca869879}


Definition at line 36 of file circle.\-h.

\index{circle.\-h@{circle.\-h}!R\-D\-A\-T\-A@{R\-D\-A\-T\-A}}
\index{R\-D\-A\-T\-A@{R\-D\-A\-T\-A}!circle.h@{circle.\-h}}
\subsubsection[{R\-D\-A\-T\-A}]{\setlength{\rightskip}{0pt plus 5cm}\#define R\-D\-A\-T\-A(
\begin{DoxyParamCaption}
\item[{}]{n}
\end{DoxyParamCaption}
)~(({\bf rdata}$\ast$)({\bf N\-D\-\_\-alg}(n)))}\label{circle_8h_ad47ecbb5fc10f47ba256a0648cca1ac5}


Definition at line 33 of file circle.\-h.

\index{circle.\-h@{circle.\-h}!S\-C\-E\-N\-T\-E\-R@{S\-C\-E\-N\-T\-E\-R}}
\index{S\-C\-E\-N\-T\-E\-R@{S\-C\-E\-N\-T\-E\-R}!circle.h@{circle.\-h}}
\subsubsection[{S\-C\-E\-N\-T\-E\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\-C\-E\-N\-T\-E\-R(
\begin{DoxyParamCaption}
\item[{}]{n}
\end{DoxyParamCaption}
)~({\bf R\-D\-A\-T\-A}(n)-\/$>$n\-Steps\-To\-Center)}\label{circle_8h_a7db7e5fad52a080aa1906490653683ee}


Definition at line 37 of file circle.\-h.

\index{circle.\-h@{circle.\-h}!S\-L\-E\-A\-F@{S\-L\-E\-A\-F}}
\index{S\-L\-E\-A\-F@{S\-L\-E\-A\-F}!circle.h@{circle.\-h}}
\subsubsection[{S\-L\-E\-A\-F}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\-L\-E\-A\-F(
\begin{DoxyParamCaption}
\item[{}]{n}
\end{DoxyParamCaption}
)~({\bf R\-D\-A\-T\-A}(n)-\/$>$n\-Steps\-To\-Leaf)}\label{circle_8h_a012f55cd060e4641337b68dcc0a6f81b}


Definition at line 34 of file circle.\-h.

\index{circle.\-h@{circle.\-h}!S\-P\-A\-N@{S\-P\-A\-N}}
\index{S\-P\-A\-N@{S\-P\-A\-N}!circle.h@{circle.\-h}}
\subsubsection[{S\-P\-A\-N}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\-P\-A\-N(
\begin{DoxyParamCaption}
\item[{}]{n}
\end{DoxyParamCaption}
)~({\bf R\-D\-A\-T\-A}(n)-\/$>$span)}\label{circle_8h_a7db91a77bbe1439b1067d6ca24e775b2}


Definition at line 39 of file circle.\-h.

\index{circle.\-h@{circle.\-h}!S\-P\-A\-R\-E\-N\-T@{S\-P\-A\-R\-E\-N\-T}}
\index{S\-P\-A\-R\-E\-N\-T@{S\-P\-A\-R\-E\-N\-T}!circle.h@{circle.\-h}}
\subsubsection[{S\-P\-A\-R\-E\-N\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\-P\-A\-R\-E\-N\-T(
\begin{DoxyParamCaption}
\item[{}]{n}
\end{DoxyParamCaption}
)~({\bf R\-D\-A\-T\-A}(n)-\/$>${\bf parent})}\label{circle_8h_ab5d6f5e9eb0b0c98dc7505c9f191aa62}


Definition at line 38 of file circle.\-h.

\index{circle.\-h@{circle.\-h}!S\-T\-S\-I\-Z\-E@{S\-T\-S\-I\-Z\-E}}
\index{S\-T\-S\-I\-Z\-E@{S\-T\-S\-I\-Z\-E}!circle.h@{circle.\-h}}
\subsubsection[{S\-T\-S\-I\-Z\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\-T\-S\-I\-Z\-E(
\begin{DoxyParamCaption}
\item[{}]{n}
\end{DoxyParamCaption}
)~({\bf R\-D\-A\-T\-A}(n)-\/$>$subtree\-Size)}\label{circle_8h_ad57a4d89f800f639dc75e78111be4f1e}


Definition at line 35 of file circle.\-h.

\index{circle.\-h@{circle.\-h}!T\-H\-E\-T\-A@{T\-H\-E\-T\-A}}
\index{T\-H\-E\-T\-A@{T\-H\-E\-T\-A}!circle.h@{circle.\-h}}
\subsubsection[{T\-H\-E\-T\-A}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-E\-T\-A(
\begin{DoxyParamCaption}
\item[{}]{n}
\end{DoxyParamCaption}
)~({\bf R\-D\-A\-T\-A}(n)-\/$>$theta)}\label{circle_8h_a28900c67e467cf0723913e4a5f7f44cc}


Definition at line 40 of file circle.\-h.



\subsection{Function Documentation}
\index{circle.\-h@{circle.\-h}!circle\-Layout@{circle\-Layout}}
\index{circle\-Layout@{circle\-Layout}!circle.h@{circle.\-h}}
\subsubsection[{circle\-Layout}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Agnode\-\_\-t}$\ast$ circle\-Layout (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{sg, }
\item[{{\bf Agnode\-\_\-t} $\ast$}]{center}
\end{DoxyParamCaption}
)}\label{circle_8h_a3cf0fbb7940f51ee02562ec7b6a3710e}


Definition at line 410 of file circle.\-c.



References agerr(), A\-G\-E\-R\-R, agfstnode(), agnameof(), agnnodes(), init\-Layout(), N\-D\-\_\-pos, and Verbose.



Referenced by twopi\-\_\-layout().

\index{circle.\-h@{circle.\-h}!twopi\-\_\-cleanup@{twopi\-\_\-cleanup}}
\index{twopi\-\_\-cleanup@{twopi\-\_\-cleanup}!circle.h@{circle.\-h}}
\subsubsection[{twopi\-\_\-cleanup}]{\setlength{\rightskip}{0pt plus 5cm}void twopi\-\_\-cleanup (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g}
\end{DoxyParamCaption}
)}\label{circle_8h_a871592b522f96977647ab22846922cbc}


Definition at line 185 of file twopiinit.\-c.

\index{circle.\-h@{circle.\-h}!twopi\-\_\-init\-\_\-graph@{twopi\-\_\-init\-\_\-graph}}
\index{twopi\-\_\-init\-\_\-graph@{twopi\-\_\-init\-\_\-graph}!circle.h@{circle.\-h}}
\subsubsection[{twopi\-\_\-init\-\_\-graph}]{\setlength{\rightskip}{0pt plus 5cm}void twopi\-\_\-init\-\_\-graph (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{g}
\end{DoxyParamCaption}
)}\label{circle_8h_adf1b34b964c842a8559a73720c8707b2}


Definition at line 54 of file twopiinit.\-c.



References E\-T\-\_\-\-L\-I\-N\-E, G\-D\-\_\-ndim, Ndim, and set\-Edge\-Type().



Referenced by twopi\-\_\-layout().

\index{circle.\-h@{circle.\-h}!twopi\-\_\-layout@{twopi\-\_\-layout}}
\index{twopi\-\_\-layout@{twopi\-\_\-layout}!circle.h@{circle.\-h}}
\subsubsection[{twopi\-\_\-layout}]{\setlength{\rightskip}{0pt plus 5cm}void twopi\-\_\-layout (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g}
\end{DoxyParamCaption}
)}\label{circle_8h_a608517a264f5d768f38cd8a99444c7c1}


Definition at line 75 of file twopiinit.\-c.

