\section{gear\-:\-:Fixed\-Disk\-Layout\-Base Class Reference}
\label{classgear_1_1FixedDiskLayoutBase}\index{gear\-::\-Fixed\-Disk\-Layout\-Base@{gear\-::\-Fixed\-Disk\-Layout\-Base}}


Base class for circular \doxyref{Pad\-Row\-Layout2\-D}{p.}{classgear_1_1PadRowLayout2D} implementations.  




{\ttfamily \#include $<$Fixed\-Disk\-Layout\-Base.\-h$>$}

Inheritance diagram for gear\-:\-:Fixed\-Disk\-Layout\-Base\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.800000cm]{classgear_1_1FixedDiskLayoutBase}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual int {\bf get\-Pad\-Layout\-Type} () const 
\item 
virtual int {\bf get\-Coordinate\-Type} () const \label{classgear_1_1FixedDiskLayoutBase_a1651d9e01c77d82c4657e846d3579717}

\begin{DoxyCompactList}\small\item\em The type of the row layouts coordinate system\-: Pad\-Row\-Layout2\-D.\-P\-O\-L\-A\-R. \end{DoxyCompactList}\item 
virtual int {\bf get\-Pad\-Shape} () const \label{classgear_1_1FixedDiskLayoutBase_a8fef9342018a01f501c7eb7d30f3ef23}

\begin{DoxyCompactList}\small\item\em The shape of the pads\-: Pad\-Row\-Layout2\-D\-::\-R\-E\-C\-T\-A\-N\-G\-L\-E (i.\-e. keystone). \end{DoxyCompactList}\item 
virtual int {\bf get\-Row\-Number} (int pad\-Index) const 
\begin{DoxyCompactList}\small\item\em The number of the row that contains the pad at pad\-Index. \end{DoxyCompactList}\item 
virtual int {\bf get\-Pad\-Number} (int pad\-Index) const 
\begin{DoxyCompactList}\small\item\em The pad number (column) within the row. \end{DoxyCompactList}\item 
virtual double {\bf get\-Distance\-To\-Pad} (double c0, double c1, int pad\-Index) const \label{classgear_1_1FixedDiskLayoutBase_a3a9a2889db528d876857a940980fd0a5}

\begin{DoxyCompactList}\small\item\em Returns the closest distance to the edge (outer border) of the pad. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
Base class for circular \doxyref{Pad\-Row\-Layout2\-D}{p.}{classgear_1_1PadRowLayout2D} implementations. 

It implements the functionality common for all Fixed\-Pad$\ast$$\ast$$\ast$\-Disk\-Layout classes to avoid code duplication (non-\/trivial distance calculations etc).

\begin{DoxyAuthor}{Author}
M. Killenberg, University of Bonn 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{Fixed\-Disk\-Layout\-Base.\-h}{p.}{FixedDiskLayoutBase_8h_source} 380 2011-\/08-\/26 12\-:24\-:46\-Z gaede 
\end{DoxyParagraph}


Definition at line 18 of file Fixed\-Disk\-Layout\-Base.\-h.



\subsection{Member Function Documentation}
\index{gear\-::\-Fixed\-Disk\-Layout\-Base@{gear\-::\-Fixed\-Disk\-Layout\-Base}!get\-Pad\-Layout\-Type@{get\-Pad\-Layout\-Type}}
\index{get\-Pad\-Layout\-Type@{get\-Pad\-Layout\-Type}!gear::FixedDiskLayoutBase@{gear\-::\-Fixed\-Disk\-Layout\-Base}}
\subsubsection[{get\-Pad\-Layout\-Type}]{\setlength{\rightskip}{0pt plus 5cm}int gear\-::\-Fixed\-Disk\-Layout\-Base\-::get\-Pad\-Layout\-Type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classgear_1_1FixedDiskLayoutBase_a80b8ceed64bb8e796d2d1e086bc31597}
\begin{DoxyRefDesc}{Deprecated}
\item[{\bf Deprecated}]\{ As there now is more than one implementation for each coordinate type this is not sufficient to distinguish the implementations any more. Use \doxyref{get\-Pad\-Layout\-Impl\-Type()}{p.}{classgear_1_1PadRowLayout2D_aa03aed3f60ce6cc7ecb8ab505613a673} to get the implementation type. Use \doxyref{get\-Coordinate\-Type()}{p.}{classgear_1_1FixedDiskLayoutBase_a1651d9e01c77d82c4657e846d3579717} to get the type of the coordinate system.\end{DoxyRefDesc}


For backward compatibility this function returns Pad\-Row\-Layout2\-D.\-C\-A\-R\-T\-E\-S\-I\-A\-N, i. e. \doxyref{get\-Coordinate\-Type()}{p.}{classgear_1_1FixedDiskLayoutBase_a1651d9e01c77d82c4657e846d3579717}.\} 

Implements {\bf gear\-::\-Pad\-Row\-Layout2\-D} \doxyref{}{p.}{classgear_1_1PadRowLayout2D_acaba86e962d1bd3950f7211b84681ab8}.



Reimplemented in {\bf gear\-::\-Versatile\-Disk\-Row\-Layout} \doxyref{}{p.}{classgear_1_1VersatileDiskRowLayout_aecc583df62805566bbbfdb22bf56129a}.



Definition at line 11 of file Fixed\-Disk\-Layout\-Base.\-cc.



References get\-Coordinate\-Type().

\index{gear\-::\-Fixed\-Disk\-Layout\-Base@{gear\-::\-Fixed\-Disk\-Layout\-Base}!get\-Pad\-Number@{get\-Pad\-Number}}
\index{get\-Pad\-Number@{get\-Pad\-Number}!gear::FixedDiskLayoutBase@{gear\-::\-Fixed\-Disk\-Layout\-Base}}
\subsubsection[{get\-Pad\-Number}]{\setlength{\rightskip}{0pt plus 5cm}virtual int gear\-::\-Fixed\-Disk\-Layout\-Base\-::get\-Pad\-Number (
\begin{DoxyParamCaption}
\item[{int}]{pad\-Index}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\label{classgear_1_1FixedDiskLayoutBase_a93f746029eaad7857ada3dcf56d864e7}


The pad number (column) within the row. 

Pad numbering within the row starts with 0 at phi\-Min. 

Implements {\bf gear\-::\-Pad\-Row\-Layout2\-D} \doxyref{}{p.}{classgear_1_1PadRowLayout2D_a9a2f156803b892ea613d7aad4657cf10}.



Reimplemented in {\bf gear\-::\-Versatile\-Disk\-Row\-Layout} \doxyref{}{p.}{classgear_1_1VersatileDiskRowLayout_aec85906136da4a97a34b443e3fb2a467}, and {\bf gear\-::\-Fixed\-Pad\-Size\-Disk\-Layout} \doxyref{}{p.}{classgear_1_1FixedPadSizeDiskLayout_a7d5c37bd526cc0716452d6bdd18682b7}.



Definition at line 51 of file Fixed\-Disk\-Layout\-Base.\-h.



Referenced by gear\-::\-Fixed\-Pad\-Angle\-Disk\-Layout\-::get\-Left\-Neighbour(), gear\-::\-Fixed\-Pad\-Angle\-Disk\-Layout\-::get\-Pad\-Center(), and gear\-::\-Fixed\-Pad\-Angle\-Disk\-Layout\-::get\-Right\-Neighbour().

\index{gear\-::\-Fixed\-Disk\-Layout\-Base@{gear\-::\-Fixed\-Disk\-Layout\-Base}!get\-Row\-Number@{get\-Row\-Number}}
\index{get\-Row\-Number@{get\-Row\-Number}!gear::FixedDiskLayoutBase@{gear\-::\-Fixed\-Disk\-Layout\-Base}}
\subsubsection[{get\-Row\-Number}]{\setlength{\rightskip}{0pt plus 5cm}virtual int gear\-::\-Fixed\-Disk\-Layout\-Base\-::get\-Row\-Number (
\begin{DoxyParamCaption}
\item[{int}]{pad\-Index}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\label{classgear_1_1FixedDiskLayoutBase_afa35e7f8f358c23463f893e52cadaee4}


The number of the row that contains the pad at pad\-Index. 

Row numbering starts at r\-Min. 

Implements {\bf gear\-::\-Pad\-Row\-Layout2\-D} \doxyref{}{p.}{classgear_1_1PadRowLayout2D_a23898c06edde29a26351e15f00127fb5}.



Reimplemented in {\bf gear\-::\-Versatile\-Disk\-Row\-Layout} \doxyref{}{p.}{classgear_1_1VersatileDiskRowLayout_a532c9b1f029dbdd315f9a8d7cb348815}, and {\bf gear\-::\-Fixed\-Pad\-Size\-Disk\-Layout} \doxyref{}{p.}{classgear_1_1FixedPadSizeDiskLayout_a05f903547409d849752fe03e786bda71}.



Definition at line 46 of file Fixed\-Disk\-Layout\-Base.\-h.



Referenced by get\-Distance\-To\-Pad(), gear\-::\-Fixed\-Pad\-Angle\-Disk\-Layout\-::get\-Left\-Neighbour(), gear\-::\-Fixed\-Pad\-Angle\-Disk\-Layout\-::get\-Pad\-Center(), and gear\-::\-Fixed\-Pad\-Angle\-Disk\-Layout\-::get\-Right\-Neighbour().



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Fixed\-Disk\-Layout\-Base.\-h\item 
Fixed\-Disk\-Layout\-Base.\-cc\end{DoxyCompactItemize}
