\hypertarget{a00444}{
\section{mln::win::backdiag2d Struct Reference}
\label{d3/dea/a00444}\index{mln::win::backdiag2d@{mln::win::backdiag2d}}
}


Diagonal line window defined on the 2D square grid.  




{\ttfamily \#include $<$backdiag2d.hh$>$}



Inherits classical\_\-window\_\-base$<$ dpoint2d, backdiag2d $>$.

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a00444_a240a210591a75ead0d7943243a5c56c6}{backdiag2d} (unsigned length)
\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
unsigned \hyperlink{a00444_a28e5cb596af1c6b6435f39d2e08997b4}{length} () const 
\begin{DoxyCompactList}\small\item\em Give the diagonal length, that is, its width. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Diagonal line window defined on the 2D square grid. An \hyperlink{a00444}{backdiag2d} is centered and symmetric. its width (length) is odd.

For instance: \begin{DoxyVerb}
     *  o
     *    o
     *      x
     *        o
     *          o
     * \end{DoxyVerb}
 is defined with length = 5. 

Definition at line 63 of file backdiag2d.hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00444_a240a210591a75ead0d7943243a5c56c6}{
\index{mln::win::backdiag2d@{mln::win::backdiag2d}!backdiag2d@{backdiag2d}}
\index{backdiag2d@{backdiag2d}!mln::win::backdiag2d@{mln::win::backdiag2d}}
\subsubsection[{backdiag2d}]{\setlength{\rightskip}{0pt plus 5cm}mln::win::backdiag2d::backdiag2d (
\begin{DoxyParamCaption}
\item[{unsigned}]{ length}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d3/dea/a00444_a240a210591a75ead0d7943243a5c56c6}


Constructor. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em length}]Length, thus width, of the diagonal line.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
{\ttfamily length} is odd. 
\end{DoxyPrecond}


Definition at line 93 of file backdiag2d.hh.



\subsection{Member Function Documentation}
\hypertarget{a00444_a28e5cb596af1c6b6435f39d2e08997b4}{
\index{mln::win::backdiag2d@{mln::win::backdiag2d}!length@{length}}
\index{length@{length}!mln::win::backdiag2d@{mln::win::backdiag2d}}
\subsubsection[{length}]{\setlength{\rightskip}{0pt plus 5cm}unsigned mln::win::backdiag2d::length (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d3/dea/a00444_a28e5cb596af1c6b6435f39d2e08997b4}


Give the diagonal length, that is, its width. 



Definition at line 105 of file backdiag2d.hh.

