\hypertarget{a00113}{
\section{mln::accu::site\_\-set::rectangularity$<$ P $>$ Class Template Reference}
\label{d3/d00/a00113}\index{mln::accu::site\_\-set::rectangularity@{mln::accu::site\_\-set::rectangularity}}
}


Compute the rectangularity of a site set.  




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



Inherits couple$<$ accu::shape::bbox$<$ P $>$, accu::math::count$<$ P $>$, float, rectangularity$<$ P $>$ $>$.

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
A2::result \hyperlink{a00113_a03dbbff8c5a7e4349a0900509f8987f9}{area} () const 
\begin{DoxyCompactList}\small\item\em Return the site set area. \item\end{DoxyCompactList}\item 
A1::result \hyperlink{a00113_a11ce5e5a58bbbc6914c64df1bf80ff61}{bbox} () const 
\begin{DoxyCompactList}\small\item\em Return the site set bounding box. \item\end{DoxyCompactList}\item 
\hyperlink{a00113_af16c1ecf3d246107b4451aa7c4736a66}{rectangularity} ()
\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename T $>$ }\\void \hyperlink{a00026_a745794a4ef16926d3c09ebbaa8b6b557}{take\_\-as\_\-init} (const T \&t)
\begin{DoxyCompactList}\small\item\em Take as initialization the value {\ttfamily t}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename T $>$ }\\void \hyperlink{a00026_a138e094daa1a85f345bbdfd852c9fc67}{take\_\-n\_\-times} (unsigned n, const T \&t)
\begin{DoxyCompactList}\small\item\em Take {\ttfamily n} times the value {\ttfamily t}. \item\end{DoxyCompactList}\item 
result \hyperlink{a00113_a6958ed1c080106dbc2710494f22805a3}{to\_\-result} () const 
\begin{DoxyCompactList}\small\item\em Return the rectangularity value. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename P$>$ class mln::accu::site\_\-set::rectangularity$<$ P $>$}

Compute the rectangularity of a site set. 

Definition at line 51 of file rectangularity.hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00113_af16c1ecf3d246107b4451aa7c4736a66}{
\index{mln::accu::site\_\-set::rectangularity@{mln::accu::site\_\-set::rectangularity}!rectangularity@{rectangularity}}
\index{rectangularity@{rectangularity}!mln::accu::site_set::rectangularity@{mln::accu::site\_\-set::rectangularity}}
\subsubsection[{rectangularity}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ {\bf mln::accu::site\_\-set::rectangularity}$<$ P $>$::{\bf rectangularity} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d3/d00/a00113_af16c1ecf3d246107b4451aa7c4736a66}


Constructor. 



Definition at line 91 of file rectangularity.hh.



\subsection{Member Function Documentation}
\hypertarget{a00113_a03dbbff8c5a7e4349a0900509f8987f9}{
\index{mln::accu::site\_\-set::rectangularity@{mln::accu::site\_\-set::rectangularity}!area@{area}}
\index{area@{area}!mln::accu::site_set::rectangularity@{mln::accu::site\_\-set::rectangularity}}
\subsubsection[{area}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ {\bf rectangularity}$<$ P $>$::A2::result {\bf mln::accu::site\_\-set::rectangularity}$<$ P $>$::area (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d3/d00/a00113_a03dbbff8c5a7e4349a0900509f8987f9}


Return the site set area. 



Definition at line 107 of file rectangularity.hh.

\hypertarget{a00113_a11ce5e5a58bbbc6914c64df1bf80ff61}{
\index{mln::accu::site\_\-set::rectangularity@{mln::accu::site\_\-set::rectangularity}!bbox@{bbox}}
\index{bbox@{bbox}!mln::accu::site_set::rectangularity@{mln::accu::site\_\-set::rectangularity}}
\subsubsection[{bbox}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ {\bf rectangularity}$<$ P $>$::A1::result {\bf mln::accu::site\_\-set::rectangularity}$<$ P $>$::bbox (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d3/d00/a00113_a11ce5e5a58bbbc6914c64df1bf80ff61}


Return the site set bounding box. 



Definition at line 98 of file rectangularity.hh.

\hypertarget{a00026_a745794a4ef16926d3c09ebbaa8b6b557}{
\index{mln::accu::site\_\-set::rectangularity@{mln::accu::site\_\-set::rectangularity}!take\_\-as\_\-init@{take\_\-as\_\-init}}
\index{take\_\-as\_\-init@{take\_\-as\_\-init}!mln::accu::site_set::rectangularity@{mln::accu::site\_\-set::rectangularity}}
\subsubsection[{take\_\-as\_\-init}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename E $>$ template$<$typename T $>$ void {\bf mln::Accumulator}$<$ E $>$::take\_\-as\_\-init (
\begin{DoxyParamCaption}
\item[{const T \&}]{ t}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inherited\mbox{]}}}}
\label{d6/d5b/a00026_a745794a4ef16926d3c09ebbaa8b6b557}


Take as initialization the value {\ttfamily t}. 

Dev note: this is a final method; override if needed by take\_\-as\_\-init\_\- (ending with '\_\-'). 

Definition at line 186 of file accumulator.hh.



References mln::mln\_\-exact().

\hypertarget{a00026_a138e094daa1a85f345bbdfd852c9fc67}{
\index{mln::accu::site\_\-set::rectangularity@{mln::accu::site\_\-set::rectangularity}!take\_\-n\_\-times@{take\_\-n\_\-times}}
\index{take\_\-n\_\-times@{take\_\-n\_\-times}!mln::accu::site_set::rectangularity@{mln::accu::site\_\-set::rectangularity}}
\subsubsection[{take\_\-n\_\-times}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename E $>$ template$<$typename T $>$ void {\bf mln::Accumulator}$<$ E $>$::take\_\-n\_\-times (
\begin{DoxyParamCaption}
\item[{unsigned}]{ n, }
\item[{const T \&}]{ t}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inherited\mbox{]}}}}
\label{d6/d5b/a00026_a138e094daa1a85f345bbdfd852c9fc67}


Take {\ttfamily n} times the value {\ttfamily t}. 

Dev note: this is a final method; override if needed by take\_\-as\_\-init\_\- (ending with '\_\-'). 

Definition at line 213 of file accumulator.hh.



References mln::mln\_\-exact().

\hypertarget{a00113_a6958ed1c080106dbc2710494f22805a3}{
\index{mln::accu::site\_\-set::rectangularity@{mln::accu::site\_\-set::rectangularity}!to\_\-result@{to\_\-result}}
\index{to\_\-result@{to\_\-result}!mln::accu::site_set::rectangularity@{mln::accu::site\_\-set::rectangularity}}
\subsubsection[{to\_\-result}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ {\bf rectangularity}$<$ P $>$::result {\bf mln::accu::site\_\-set::rectangularity}$<$ P $>$::to\_\-result (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d3/d00/a00113_a6958ed1c080106dbc2710494f22805a3}


Return the rectangularity value. 



Definition at line 116 of file rectangularity.hh.

