\hypertarget{a02798}{
\section{2D neighborhoods}
\label{d9/da4/a02798}\index{2D neighborhoods@{2D neighborhoods}}
}


Predefined 2D neighborhoods.  


\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef neighb$<$ window2d $>$ \hyperlink{a02798_gac26d0792f2cdf22546e991fcc13508f7}{mln::neighb2d}
\begin{DoxyCompactList}\small\item\em Type alias for a neighborhood defined on the 2D square grid with integer coordinates. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
const neighb2d \& \hyperlink{a02798_ga3f500ce36abfa627bcb2de238f52722b}{mln::c2\_\-col} ()
\begin{DoxyCompactList}\small\item\em Vertical 2-\/connectivity neighborhood on the 2D grid. \item\end{DoxyCompactList}\item 
const neighb2d \& \hyperlink{a02798_ga868c12034b3be7e4f59f6f2539d350a1}{mln::c2\_\-row} ()
\begin{DoxyCompactList}\small\item\em Horizontal 2-\/connectivity neighborhood on the 2D grid. \item\end{DoxyCompactList}\item 
const neighb2d \& \hyperlink{a02798_ga6301a4375dc15998f855198938d35b97}{mln::c4} ()
\begin{DoxyCompactList}\small\item\em 4-\/connectivity neighborhood on the 2D grid. \item\end{DoxyCompactList}\item 
const neighb2d \& \hyperlink{a02798_gadcd2c02eba0b00baca4e4eab4f094035}{mln::c8} ()
\begin{DoxyCompactList}\small\item\em 8-\/connectivity neighborhood on the 2D grid. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Predefined 2D neighborhoods. 

\subsection{Typedef Documentation}
\hypertarget{a02798_gac26d0792f2cdf22546e991fcc13508f7}{
\index{modneighb2d@{modneighb2d}!neighb2d@{neighb2d}}
\index{neighb2d@{neighb2d}!modneighb2d@{modneighb2d}}
\subsubsection[{neighb2d}]{\setlength{\rightskip}{0pt plus 5cm}typedef neighb$<$window2d$>$ {\bf mln::neighb2d}}}
\label{d9/da4/a02798_gac26d0792f2cdf22546e991fcc13508f7}


Type alias for a neighborhood defined on the 2D square grid with integer coordinates. 



Definition at line 51 of file core/alias/neighb2d.hh.



\subsection{Function Documentation}
\hypertarget{a02798_ga3f500ce36abfa627bcb2de238f52722b}{
\index{modneighb2d@{modneighb2d}!c2\_\-col@{c2\_\-col}}
\index{c2\_\-col@{c2\_\-col}!modneighb2d@{modneighb2d}}
\subsubsection[{c2\_\-col}]{\setlength{\rightskip}{0pt plus 5cm}const neighb2d \& mln::c2\_\-col (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d9/da4/a02798_ga3f500ce36abfa627bcb2de238f52722b}


Vertical 2-\/connectivity neighborhood on the 2D grid. 

\begin{DoxyVerb}
       - o -
       - x -
       - o -
    \end{DoxyVerb}


\begin{DoxyReturn}{Returns}
A neighb2d. 
\end{DoxyReturn}


Definition at line 190 of file core/alias/neighb2d.hh.

\hypertarget{a02798_ga868c12034b3be7e4f59f6f2539d350a1}{
\index{modneighb2d@{modneighb2d}!c2\_\-row@{c2\_\-row}}
\index{c2\_\-row@{c2\_\-row}!modneighb2d@{modneighb2d}}
\subsubsection[{c2\_\-row}]{\setlength{\rightskip}{0pt plus 5cm}const neighb2d \& mln::c2\_\-row (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d9/da4/a02798_ga868c12034b3be7e4f59f6f2539d350a1}


Horizontal 2-\/connectivity neighborhood on the 2D grid. 

\begin{DoxyVerb}
       - - -
       o x o
       - - -
    \end{DoxyVerb}


\begin{DoxyReturn}{Returns}
A neighb2d. 
\end{DoxyReturn}


Definition at line 176 of file core/alias/neighb2d.hh.

\hypertarget{a02798_ga6301a4375dc15998f855198938d35b97}{
\index{modneighb2d@{modneighb2d}!c4@{c4}}
\index{c4@{c4}!modneighb2d@{modneighb2d}}
\subsubsection[{c4}]{\setlength{\rightskip}{0pt plus 5cm}const neighb2d \& mln::c4 (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d9/da4/a02798_ga6301a4375dc15998f855198938d35b97}


4-\/connectivity neighborhood on the 2D grid. 

\begin{DoxyVerb}
       - o -
       o x o
       - o -
    \end{DoxyVerb}


\begin{DoxyReturn}{Returns}
A neighb2d. 
\end{DoxyReturn}


Definition at line 148 of file core/alias/neighb2d.hh.

\hypertarget{a02798_gadcd2c02eba0b00baca4e4eab4f094035}{
\index{modneighb2d@{modneighb2d}!c8@{c8}}
\index{c8@{c8}!modneighb2d@{modneighb2d}}
\subsubsection[{c8}]{\setlength{\rightskip}{0pt plus 5cm}const neighb2d \& mln::c8 (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d9/da4/a02798_gadcd2c02eba0b00baca4e4eab4f094035}


8-\/connectivity neighborhood on the 2D grid. 

\begin{DoxyVerb}
       o o o
       o x o
       o o o
    \end{DoxyVerb}


\begin{DoxyReturn}{Returns}
A neighb2d. 
\end{DoxyReturn}


Definition at line 162 of file core/alias/neighb2d.hh.

