\hypertarget{a00300}{
\section{mln::p\_\-array$<$ P $>$ Class Template Reference}
\label{db/da2/a00300}\index{mln::p\_\-array@{mln::p\_\-array}}
}


Multi-\/set of sites.  




{\ttfamily \#include $<$p\_\-array.hh$>$}



Inherits site\_\-set\_\-base\_\-$<$ P, p\_\-array$<$ P $>$ $>$.

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef \hyperlink{a00308}{p\_\-indexed\_\-bkd\_\-piter}$<$ \hyperlink{a00300}{self\_\-} $>$ \hyperlink{a00300_ab4bdc6714aefc3327ce067aecb235124}{bkd\_\-piter}
\begin{DoxyCompactList}\small\item\em Backward \hyperlink{a00345}{Site\_\-Iterator} associated type. \item\end{DoxyCompactList}\item 
typedef P \hyperlink{a00300_a3c958c8dd3806519858728a0794be410}{element}
\begin{DoxyCompactList}\small\item\em Element associated type. \item\end{DoxyCompactList}\item 
typedef \hyperlink{a00309}{p\_\-indexed\_\-fwd\_\-piter}$<$ \hyperlink{a00300}{self\_\-} $>$ \hyperlink{a00300_a931b7df11974c37fc172289501f71ef7}{fwd\_\-piter}
\begin{DoxyCompactList}\small\item\em Forward \hyperlink{a00345}{Site\_\-Iterator} associated type. \item\end{DoxyCompactList}\item 
typedef P \hyperlink{a00300_a70df393439dfe2a79045c45b844da0cb}{i\_\-element}
\begin{DoxyCompactList}\small\item\em Insertion element associated type. \item\end{DoxyCompactList}\item 
typedef \hyperlink{a00309}{fwd\_\-piter} \hyperlink{a00300_aa41a50e57048d6d309821e6be3d5e8d3}{piter}
\begin{DoxyCompactList}\small\item\em \hyperlink{a00345}{Site\_\-Iterator} associated type. \item\end{DoxyCompactList}\item 
typedef \hyperlink{a00310}{p\_\-indexed\_\-psite}$<$ \hyperlink{a00300}{self\_\-} $>$ \hyperlink{a00300_a0abb5e69cd3a627c2c97df7421f68919}{psite}
\begin{DoxyCompactList}\small\item\em Psite associated type. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a00300}{p\_\-array}$<$ P $>$ \& \hyperlink{a00300_a010a15816503fa16806c919891bbe767}{append} (const P \&p)
\begin{DoxyCompactList}\small\item\em Append a point {\ttfamily p}. \item\end{DoxyCompactList}\item 
\hyperlink{a00300}{p\_\-array}$<$ P $>$ \& \hyperlink{a00300_a081561706a3901658ad1508fc52a3576}{append} (const \hyperlink{a00300}{p\_\-array}$<$ P $>$ \&other)
\begin{DoxyCompactList}\small\item\em Append an array {\ttfamily other} of points. \item\end{DoxyCompactList}\item 
void \hyperlink{a00300_a9fbcca6bd9b60eb36880cab0d2fdd8d2}{change} (const \hyperlink{a00310}{psite} \&p, const P \&new\_\-p)
\begin{DoxyCompactList}\small\item\em Change site {\ttfamily p} into {\ttfamily new\_\-p}. \item\end{DoxyCompactList}\item 
void \hyperlink{a00300_ab2bf07f6464fd004d2fc3ab9d1d4131b}{clear} ()
\begin{DoxyCompactList}\small\item\em Clear this set. \item\end{DoxyCompactList}\item 
bool \hyperlink{a00300_a9f4f73d71bcb5a16d7f016afea5ec33a}{has} (const util::index \&i) const 
\begin{DoxyCompactList}\small\item\em Test is index {\ttfamily i} belongs to this site set. \item\end{DoxyCompactList}\item 
bool \hyperlink{a00300_ae6aeb47638ef907e8e6025a4367726c7}{has} (const \hyperlink{a00310}{psite} \&p) const 
\begin{DoxyCompactList}\small\item\em Test is {\ttfamily p} belongs to this site set. \item\end{DoxyCompactList}\item 
void \hyperlink{a00300_a44db15d10bdd04528b4e7cd6a726d46a}{insert} (const P \&p)
\begin{DoxyCompactList}\small\item\em Insert a point {\ttfamily p} (equivalent as 'append'). \item\end{DoxyCompactList}\item 
bool \hyperlink{a00300_ae0a83ac5ba99abe0fd8891698f0b4001}{is\_\-valid} () const 
\begin{DoxyCompactList}\small\item\em Test this set validity so returns always true. \item\end{DoxyCompactList}\item 
std::size\_\-t \hyperlink{a00300_a7900ec9c8560562a784d9d2ca60c9bd5}{memory\_\-size} () const 
\begin{DoxyCompactList}\small\item\em Return the size of this site set in memory. \item\end{DoxyCompactList}\item 
unsigned \hyperlink{a00300_a9a5522fcca1d0de4310b4d6c635caa28}{nsites} () const 
\begin{DoxyCompactList}\small\item\em Give the number of sites. \item\end{DoxyCompactList}\item 
const P \& \hyperlink{a00300_a4d328942b9a83e805c71117dfa5f3062}{operator\mbox{[}$\,$\mbox{]}} (const util::index \&i) const 
\begin{DoxyCompactList}\small\item\em Return the i-\/th element. \item\end{DoxyCompactList}\item 
P \& \hyperlink{a00300_a07fe5a0ba12d7ea25b6ba7cfe4c349f8}{operator\mbox{[}$\,$\mbox{]}} (unsigned i)
\begin{DoxyCompactList}\small\item\em Return the {\ttfamily i-\/th} site (mutable). \item\end{DoxyCompactList}\item 
const P \& \hyperlink{a00300_ab5264e2766190c4775aeac017071fbbf}{operator\mbox{[}$\,$\mbox{]}} (unsigned i) const 
\begin{DoxyCompactList}\small\item\em Return the {\ttfamily i-\/th} site (constant). \item\end{DoxyCompactList}\item 
\hyperlink{a00300_a156da3dc05168130cf6714ce019db58b}{p\_\-array} ()
\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
\hyperlink{a00300_acbaa791817677bd3e4d07607c0795aaa}{p\_\-array} (const std::vector$<$ P $>$ \&vect)
\begin{DoxyCompactList}\small\item\em Constructor from a vector {\ttfamily vect}. \item\end{DoxyCompactList}\item 
void \hyperlink{a00300_a65251289e0577329c0e798615c98007a}{reserve} (size\_\-type n)
\begin{DoxyCompactList}\small\item\em Reserve {\ttfamily n} cells. \item\end{DoxyCompactList}\item 
void \hyperlink{a00300_a0510250d9b8516b72952f2b0527bb3ad}{resize} (size\_\-t size)
\begin{DoxyCompactList}\small\item\em Update the size of this array. \item\end{DoxyCompactList}\item 
const std::vector$<$ P $>$ \& \hyperlink{a00300_ad691edd8ca219483063bc55e1205c247}{std\_\-vector} () const 
\begin{DoxyCompactList}\small\item\em Return the corresponding std::vector of points. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename P$>$ class mln::p\_\-array$<$ P $>$}

Multi-\/set of sites. \hyperlink{a00343}{Site} set class based on std::vector. 

Definition at line 84 of file p\_\-array.hh.



\subsection{Member Typedef Documentation}
\hypertarget{a00300_ab4bdc6714aefc3327ce067aecb235124}{
\index{mln::p\_\-array@{mln::p\_\-array}!bkd\_\-piter@{bkd\_\-piter}}
\index{bkd\_\-piter@{bkd\_\-piter}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{bkd\_\-piter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P$>$ typedef {\bf p\_\-indexed\_\-bkd\_\-piter}$<${\bf self\_\-}$>$ {\bf mln::p\_\-array}$<$ P $>$::{\bf bkd\_\-piter}}}
\label{db/da2/a00300_ab4bdc6714aefc3327ce067aecb235124}


Backward \hyperlink{a00345}{Site\_\-Iterator} associated type. 



Definition at line 100 of file p\_\-array.hh.

\hypertarget{a00300_a3c958c8dd3806519858728a0794be410}{
\index{mln::p\_\-array@{mln::p\_\-array}!element@{element}}
\index{element@{element}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{element}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P$>$ typedef P {\bf mln::p\_\-array}$<$ P $>$::{\bf element}}}
\label{db/da2/a00300_a3c958c8dd3806519858728a0794be410}


Element associated type. 



Definition at line 91 of file p\_\-array.hh.

\hypertarget{a00300_a931b7df11974c37fc172289501f71ef7}{
\index{mln::p\_\-array@{mln::p\_\-array}!fwd\_\-piter@{fwd\_\-piter}}
\index{fwd\_\-piter@{fwd\_\-piter}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{fwd\_\-piter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P$>$ typedef {\bf p\_\-indexed\_\-fwd\_\-piter}$<${\bf self\_\-}$>$ {\bf mln::p\_\-array}$<$ P $>$::{\bf fwd\_\-piter}}}
\label{db/da2/a00300_a931b7df11974c37fc172289501f71ef7}


Forward \hyperlink{a00345}{Site\_\-Iterator} associated type. 



Definition at line 97 of file p\_\-array.hh.

\hypertarget{a00300_a70df393439dfe2a79045c45b844da0cb}{
\index{mln::p\_\-array@{mln::p\_\-array}!i\_\-element@{i\_\-element}}
\index{i\_\-element@{i\_\-element}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{i\_\-element}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P$>$ typedef P {\bf mln::p\_\-array}$<$ P $>$::{\bf i\_\-element}}}
\label{db/da2/a00300_a70df393439dfe2a79045c45b844da0cb}


Insertion element associated type. 



Definition at line 141 of file p\_\-array.hh.

\hypertarget{a00300_aa41a50e57048d6d309821e6be3d5e8d3}{
\index{mln::p\_\-array@{mln::p\_\-array}!piter@{piter}}
\index{piter@{piter}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{piter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P$>$ typedef {\bf fwd\_\-piter} {\bf mln::p\_\-array}$<$ P $>$::{\bf piter}}}
\label{db/da2/a00300_aa41a50e57048d6d309821e6be3d5e8d3}


\hyperlink{a00345}{Site\_\-Iterator} associated type. 



Definition at line 103 of file p\_\-array.hh.

\hypertarget{a00300_a0abb5e69cd3a627c2c97df7421f68919}{
\index{mln::p\_\-array@{mln::p\_\-array}!psite@{psite}}
\index{psite@{psite}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{psite}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P$>$ typedef {\bf p\_\-indexed\_\-psite}$<${\bf self\_\-}$>$ {\bf mln::p\_\-array}$<$ P $>$::{\bf psite}}}
\label{db/da2/a00300_a0abb5e69cd3a627c2c97df7421f68919}


Psite associated type. 



Definition at line 94 of file p\_\-array.hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00300_a156da3dc05168130cf6714ce019db58b}{
\index{mln::p\_\-array@{mln::p\_\-array}!p\_\-array@{p\_\-array}}
\index{p\_\-array@{p\_\-array}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{p\_\-array}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ {\bf mln::p\_\-array}$<$ P $>$::{\bf p\_\-array} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/da2/a00300_a156da3dc05168130cf6714ce019db58b}


Constructor. 



Definition at line 340 of file p\_\-array.hh.

\hypertarget{a00300_acbaa791817677bd3e4d07607c0795aaa}{
\index{mln::p\_\-array@{mln::p\_\-array}!p\_\-array@{p\_\-array}}
\index{p\_\-array@{p\_\-array}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{p\_\-array}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ {\bf mln::p\_\-array}$<$ P $>$::{\bf p\_\-array} (
\begin{DoxyParamCaption}
\item[{const std::vector$<$ P $>$ \&}]{ vect}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/da2/a00300_acbaa791817677bd3e4d07607c0795aaa}


Constructor from a vector {\ttfamily vect}. 



Definition at line 346 of file p\_\-array.hh.



\subsection{Member Function Documentation}
\hypertarget{a00300_a010a15816503fa16806c919891bbe767}{
\index{mln::p\_\-array@{mln::p\_\-array}!append@{append}}
\index{append@{append}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{append}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ {\bf p\_\-array}$<$ P $>$ \& {\bf mln::p\_\-array}$<$ P $>$::append (
\begin{DoxyParamCaption}
\item[{const P \&}]{ p}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/da2/a00300_a010a15816503fa16806c919891bbe767}


Append a point {\ttfamily p}. 



Definition at line 408 of file p\_\-array.hh.



Referenced by mln::convert::to\_\-p\_\-array().

\hypertarget{a00300_a081561706a3901658ad1508fc52a3576}{
\index{mln::p\_\-array@{mln::p\_\-array}!append@{append}}
\index{append@{append}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{append}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ {\bf p\_\-array}$<$ P $>$ \& {\bf mln::p\_\-array}$<$ P $>$::append (
\begin{DoxyParamCaption}
\item[{const {\bf p\_\-array}$<$ P $>$ \&}]{ other}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/da2/a00300_a081561706a3901658ad1508fc52a3576}


Append an array {\ttfamily other} of points. 



Definition at line 425 of file p\_\-array.hh.



References mln::p\_\-array$<$ P $>$::std\_\-vector().

\hypertarget{a00300_a9fbcca6bd9b60eb36880cab0d2fdd8d2}{
\index{mln::p\_\-array@{mln::p\_\-array}!change@{change}}
\index{change@{change}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{change}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ void {\bf mln::p\_\-array}$<$ P $>$::change (
\begin{DoxyParamCaption}
\item[{const {\bf psite} \&}]{ p, }
\item[{const P \&}]{ new\_\-p}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/da2/a00300_a9fbcca6bd9b60eb36880cab0d2fdd8d2}


Change site {\ttfamily p} into {\ttfamily new\_\-p}. 



Definition at line 472 of file p\_\-array.hh.



References mln::p\_\-array$<$ P $>$::has().

\hypertarget{a00300_ab2bf07f6464fd004d2fc3ab9d1d4131b}{
\index{mln::p\_\-array@{mln::p\_\-array}!clear@{clear}}
\index{clear@{clear}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{clear}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ void {\bf mln::p\_\-array}$<$ P $>$::clear (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/da2/a00300_ab2bf07f6464fd004d2fc3ab9d1d4131b}


Clear this set. 



Definition at line 436 of file p\_\-array.hh.

\hypertarget{a00300_ae6aeb47638ef907e8e6025a4367726c7}{
\index{mln::p\_\-array@{mln::p\_\-array}!has@{has}}
\index{has@{has}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{has}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ bool {\bf mln::p\_\-array}$<$ P $>$::has (
\begin{DoxyParamCaption}
\item[{const {\bf psite} \&}]{ p}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/da2/a00300_ae6aeb47638ef907e8e6025a4367726c7}


Test is {\ttfamily p} belongs to this site set. 



Definition at line 362 of file p\_\-array.hh.



Referenced by mln::p\_\-array$<$ P $>$::change(), and mln::p\_\-array$<$ P $>$::operator\mbox{[}$\,$\mbox{]}().

\hypertarget{a00300_a9f4f73d71bcb5a16d7f016afea5ec33a}{
\index{mln::p\_\-array@{mln::p\_\-array}!has@{has}}
\index{has@{has}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{has}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ bool {\bf mln::p\_\-array}$<$ P $>$::has (
\begin{DoxyParamCaption}
\item[{const util::index \&}]{ i}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/da2/a00300_a9f4f73d71bcb5a16d7f016afea5ec33a}


Test is index {\ttfamily i} belongs to this site set. 



Definition at line 375 of file p\_\-array.hh.



References mln::p\_\-array$<$ P $>$::nsites().

\hypertarget{a00300_a44db15d10bdd04528b4e7cd6a726d46a}{
\index{mln::p\_\-array@{mln::p\_\-array}!insert@{insert}}
\index{insert@{insert}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{insert}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ void {\bf mln::p\_\-array}$<$ P $>$::insert (
\begin{DoxyParamCaption}
\item[{const P \&}]{ p}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/da2/a00300_a44db15d10bdd04528b4e7cd6a726d46a}


Insert a point {\ttfamily p} (equivalent as 'append'). 



Definition at line 417 of file p\_\-array.hh.

\hypertarget{a00300_ae0a83ac5ba99abe0fd8891698f0b4001}{
\index{mln::p\_\-array@{mln::p\_\-array}!is\_\-valid@{is\_\-valid}}
\index{is\_\-valid@{is\_\-valid}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{is\_\-valid}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ bool {\bf mln::p\_\-array}$<$ P $>$::is\_\-valid (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/da2/a00300_ae0a83ac5ba99abe0fd8891698f0b4001}


Test this set validity so returns always true. 



Definition at line 383 of file p\_\-array.hh.

\hypertarget{a00300_a7900ec9c8560562a784d9d2ca60c9bd5}{
\index{mln::p\_\-array@{mln::p\_\-array}!memory\_\-size@{memory\_\-size}}
\index{memory\_\-size@{memory\_\-size}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{memory\_\-size}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ std::size\_\-t {\bf mln::p\_\-array}$<$ P $>$::memory\_\-size (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/da2/a00300_a7900ec9c8560562a784d9d2ca60c9bd5}


Return the size of this site set in memory. 



Definition at line 481 of file p\_\-array.hh.



References mln::p\_\-array$<$ P $>$::nsites().

\hypertarget{a00300_a9a5522fcca1d0de4310b4d6c635caa28}{
\index{mln::p\_\-array@{mln::p\_\-array}!nsites@{nsites}}
\index{nsites@{nsites}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{nsites}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ unsigned {\bf mln::p\_\-array}$<$ P $>$::nsites (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/da2/a00300_a9a5522fcca1d0de4310b4d6c635caa28}


Give the number of sites. 



Definition at line 400 of file p\_\-array.hh.



Referenced by mln::registration::get\_\-rot(), mln::p\_\-array$<$ P $>$::has(), mln::p\_\-array$<$ P $>$::memory\_\-size(), and mln::p\_\-array$<$ P $>$::operator\mbox{[}$\,$\mbox{]}().

\hypertarget{a00300_a07fe5a0ba12d7ea25b6ba7cfe4c349f8}{
\index{mln::p\_\-array@{mln::p\_\-array}!operator\mbox{[}\mbox{]}@{operator[]}}
\index{operator\mbox{[}\mbox{]}@{operator[]}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{operator[]}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ P \& {\bf mln::p\_\-array}$<$ P $>$::operator\mbox{[}$\,$\mbox{]} (
\begin{DoxyParamCaption}
\item[{unsigned}]{ i}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/da2/a00300_a07fe5a0ba12d7ea25b6ba7cfe4c349f8}


Return the {\ttfamily i-\/th} site (mutable). 



Definition at line 463 of file p\_\-array.hh.



References mln::p\_\-array$<$ P $>$::nsites().

\hypertarget{a00300_a4d328942b9a83e805c71117dfa5f3062}{
\index{mln::p\_\-array@{mln::p\_\-array}!operator\mbox{[}\mbox{]}@{operator[]}}
\index{operator\mbox{[}\mbox{]}@{operator[]}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{operator[]}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ const P \& {\bf mln::p\_\-array}$<$ P $>$::operator\mbox{[}$\,$\mbox{]} (
\begin{DoxyParamCaption}
\item[{const util::index \&}]{ i}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/da2/a00300_a4d328942b9a83e805c71117dfa5f3062}


Return the i-\/th element. 



Definition at line 391 of file p\_\-array.hh.



References mln::p\_\-array$<$ P $>$::has().

\hypertarget{a00300_ab5264e2766190c4775aeac017071fbbf}{
\index{mln::p\_\-array@{mln::p\_\-array}!operator\mbox{[}\mbox{]}@{operator[]}}
\index{operator\mbox{[}\mbox{]}@{operator[]}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{operator[]}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ const P \& {\bf mln::p\_\-array}$<$ P $>$::operator\mbox{[}$\,$\mbox{]} (
\begin{DoxyParamCaption}
\item[{unsigned}]{ i}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/da2/a00300_ab5264e2766190c4775aeac017071fbbf}


Return the {\ttfamily i-\/th} site (constant). 



Definition at line 454 of file p\_\-array.hh.



References mln::p\_\-array$<$ P $>$::nsites().

\hypertarget{a00300_a65251289e0577329c0e798615c98007a}{
\index{mln::p\_\-array@{mln::p\_\-array}!reserve@{reserve}}
\index{reserve@{reserve}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{reserve}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ void {\bf mln::p\_\-array}$<$ P $>$::reserve (
\begin{DoxyParamCaption}
\item[{size\_\-type}]{ n}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/da2/a00300_a65251289e0577329c0e798615c98007a}


Reserve {\ttfamily n} cells. 



Definition at line 354 of file p\_\-array.hh.



Referenced by mln::convert::to\_\-p\_\-array().

\hypertarget{a00300_a0510250d9b8516b72952f2b0527bb3ad}{
\index{mln::p\_\-array@{mln::p\_\-array}!resize@{resize}}
\index{resize@{resize}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{resize}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ void {\bf mln::p\_\-array}$<$ P $>$::resize (
\begin{DoxyParamCaption}
\item[{size\_\-t}]{ size}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/da2/a00300_a0510250d9b8516b72952f2b0527bb3ad}


Update the size of this array. 



Definition at line 445 of file p\_\-array.hh.

\hypertarget{a00300_ad691edd8ca219483063bc55e1205c247}{
\index{mln::p\_\-array@{mln::p\_\-array}!std\_\-vector@{std\_\-vector}}
\index{std\_\-vector@{std\_\-vector}!mln::p_array@{mln::p\_\-array}}
\subsubsection[{std\_\-vector}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ const std::vector$<$ P $>$ \& {\bf mln::p\_\-array}$<$ P $>$::std\_\-vector (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/da2/a00300_ad691edd8ca219483063bc55e1205c247}


Return the corresponding std::vector of points. 



Definition at line 489 of file p\_\-array.hh.



Referenced by mln::p\_\-array$<$ P $>$::append().

