\hypertarget{a00304}{
\section{mln::p\_\-faces$<$ N, D, P $>$ Struct Template Reference}
\label{d8/d17/a00304}\index{mln::p\_\-faces@{mln::p\_\-faces}}
}


A complex psite set based on a the N-\/faces of a complex of dimension D (a D-\/complex).  




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



Inherits site\_\-set\_\-base\_\-$<$ faces\_\-psite$<$ N, D, P $>$, p\_\-faces$<$ N, D, P $>$ $>$.

\subsection*{Public Types}
\begin{Indent}{\bf }\par
{\em \label{_amgrpd41d8cd98f00b204e9800998ecf8427e}
 }\begin{DoxyCompactItemize}
\item 
typedef super\_\-::site \hyperlink{a00304_a7d08cec1560f5edc26f79702b6e3a46f}{element}
\begin{DoxyCompactList}\small\item\em Associated types. \item\end{DoxyCompactList}\item 
typedef \hyperlink{a00189}{faces\_\-psite}$<$ N, D, P $>$ \hyperlink{a00304_a5fd98927a916099ddb2449fb8e1819b7}{psite}
\begin{DoxyCompactList}\small\item\em \hyperlink{a00331}{Point\_\-Site} associated type. \item\end{DoxyCompactList}\item 
typedef p\_\-faces\_\-fwd\_\-piter\_\-$<$ N, D, P $>$ \hyperlink{a00304_ad09146b4155ec6dacdccbe9dc67c0d60}{fwd\_\-piter}
\begin{DoxyCompactList}\small\item\em Forward \hyperlink{a00345}{Site\_\-Iterator} associated type. \item\end{DoxyCompactList}\item 
typedef p\_\-faces\_\-bkd\_\-piter\_\-$<$ N, D, P $>$ \hyperlink{a00304_a0a5935a92e88b4459b43722d107eb4c9}{bkd\_\-piter}
\begin{DoxyCompactList}\small\item\em Backward \hyperlink{a00345}{Site\_\-Iterator} associated type. \item\end{DoxyCompactList}\item 
typedef \hyperlink{a00304_ad09146b4155ec6dacdccbe9dc67c0d60}{fwd\_\-piter} \hyperlink{a00304_a7d7bd2b751238086e901caa214f0adfd}{piter}
\begin{DoxyCompactList}\small\item\em \hyperlink{a00345}{Site\_\-Iterator} associated type. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{a00304_aef627c85cf1e2f92be754a7ca0a2f63f}{is\_\-valid} () const 
\begin{DoxyCompactList}\small\item\em Is this site set valid? \item\end{DoxyCompactList}\item 
unsigned \hyperlink{a00304_a2438ae5e4d3c5880b61d3f655bf6991c}{nfaces} () const 
\begin{DoxyCompactList}\small\item\em Return The number of faces in the complex. \item\end{DoxyCompactList}\item 
unsigned \hyperlink{a00304_af1708608d24f454ed4c96808e89594b1}{nsites} () const 
\begin{DoxyCompactList}\small\item\em Return The number of sites of the set, i.e., the number of {\itshape faces\/}. \item\end{DoxyCompactList}\item 
\hyperlink{a00304_a93c6f74dca1eeee26f7003111d6df453}{p\_\-faces} (const \hyperlink{a00372}{topo::complex}$<$ D $>$ \&cplx)
\begin{DoxyCompactList}\small\item\em Construct a faces psite set from an mln::complex. \item\end{DoxyCompactList}\item 
\hyperlink{a00304_a54876d8776c09714e0ade068e1cdbfd9}{p\_\-faces} (const \hyperlink{a00302}{p\_\-complex}$<$ D, P $>$ \&pc)
\begin{DoxyCompactList}\small\item\em Construct a faces psite set from an \hyperlink{a00302}{mln::p\_\-complex}. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{Indent}{\bf }\par
{\em \label{_amgrpd41d8cd98f00b204e9800998ecf8427e}
 }\begin{DoxyCompactItemize}
\item 
\hyperlink{a00372}{topo::complex}$<$ D $>$ \& \hyperlink{a00304_aaaaaea1636cac6d1cfca25ae00479c45}{cplx} () const 
\begin{DoxyCompactList}\small\item\em Accessors. \item\end{DoxyCompactList}\item 
\hyperlink{a00372}{topo::complex}$<$ D $>$ \& \hyperlink{a00304_a8d9080fb59e6ad5c558d9e90d8b6f464}{cplx} ()
\begin{DoxyCompactList}\small\item\em Return the complex associated to the \hyperlink{a00304}{p\_\-faces} domain (mutable version). \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}


\subsection{Detailed Description}
\subsubsection*{template$<$unsigned N, unsigned D, typename P$>$ struct mln::p\_\-faces$<$ N, D, P $>$}

A complex psite set based on a the N-\/faces of a complex of dimension D (a D-\/complex). 

Definition at line 77 of file p\_\-faces.hh.



\subsection{Member Typedef Documentation}
\hypertarget{a00304_a0a5935a92e88b4459b43722d107eb4c9}{
\index{mln::p\_\-faces@{mln::p\_\-faces}!bkd\_\-piter@{bkd\_\-piter}}
\index{bkd\_\-piter@{bkd\_\-piter}!mln::p_faces@{mln::p\_\-faces}}
\subsubsection[{bkd\_\-piter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned N, unsigned D, typename P$>$ typedef p\_\-faces\_\-bkd\_\-piter\_\-$<$N, D, P$>$ {\bf mln::p\_\-faces}$<$ N, D, P $>$::{\bf bkd\_\-piter}}}
\label{d8/d17/a00304_a0a5935a92e88b4459b43722d107eb4c9}


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



Definition at line 110 of file p\_\-faces.hh.

\hypertarget{a00304_a7d08cec1560f5edc26f79702b6e3a46f}{
\index{mln::p\_\-faces@{mln::p\_\-faces}!element@{element}}
\index{element@{element}!mln::p_faces@{mln::p\_\-faces}}
\subsubsection[{element}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned N, unsigned D, typename P$>$ typedef super\_\- ::site {\bf mln::p\_\-faces}$<$ N, D, P $>$::{\bf element}}}
\label{d8/d17/a00304_a7d08cec1560f5edc26f79702b6e3a46f}


Associated types. 

Element associated type. 

Definition at line 99 of file p\_\-faces.hh.

\hypertarget{a00304_ad09146b4155ec6dacdccbe9dc67c0d60}{
\index{mln::p\_\-faces@{mln::p\_\-faces}!fwd\_\-piter@{fwd\_\-piter}}
\index{fwd\_\-piter@{fwd\_\-piter}!mln::p_faces@{mln::p\_\-faces}}
\subsubsection[{fwd\_\-piter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned N, unsigned D, typename P$>$ typedef p\_\-faces\_\-fwd\_\-piter\_\-$<$N, D, P$>$ {\bf mln::p\_\-faces}$<$ N, D, P $>$::{\bf fwd\_\-piter}}}
\label{d8/d17/a00304_ad09146b4155ec6dacdccbe9dc67c0d60}


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



Definition at line 106 of file p\_\-faces.hh.

\hypertarget{a00304_a7d7bd2b751238086e901caa214f0adfd}{
\index{mln::p\_\-faces@{mln::p\_\-faces}!piter@{piter}}
\index{piter@{piter}!mln::p_faces@{mln::p\_\-faces}}
\subsubsection[{piter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned N, unsigned D, typename P$>$ typedef {\bf fwd\_\-piter} {\bf mln::p\_\-faces}$<$ N, D, P $>$::{\bf piter}}}
\label{d8/d17/a00304_a7d7bd2b751238086e901caa214f0adfd}


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



Definition at line 113 of file p\_\-faces.hh.

\hypertarget{a00304_a5fd98927a916099ddb2449fb8e1819b7}{
\index{mln::p\_\-faces@{mln::p\_\-faces}!psite@{psite}}
\index{psite@{psite}!mln::p_faces@{mln::p\_\-faces}}
\subsubsection[{psite}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned N, unsigned D, typename P$>$ typedef {\bf faces\_\-psite}$<$N, D, P$>$ {\bf mln::p\_\-faces}$<$ N, D, P $>$::{\bf psite}}}
\label{d8/d17/a00304_a5fd98927a916099ddb2449fb8e1819b7}


\hyperlink{a00331}{Point\_\-Site} associated type. 



Definition at line 102 of file p\_\-faces.hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00304_a93c6f74dca1eeee26f7003111d6df453}{
\index{mln::p\_\-faces@{mln::p\_\-faces}!p\_\-faces@{p\_\-faces}}
\index{p\_\-faces@{p\_\-faces}!mln::p_faces@{mln::p\_\-faces}}
\subsubsection[{p\_\-faces}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned N, unsigned D, typename P $>$ {\bf mln::p\_\-faces}$<$ N, D, P $>$::{\bf p\_\-faces} (
\begin{DoxyParamCaption}
\item[{const {\bf topo::complex}$<$ D $>$ \&}]{ cplx}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d8/d17/a00304_a93c6f74dca1eeee26f7003111d6df453}


Construct a faces psite set from an mln::complex. 


\begin{DoxyParams}{Parameters}
\item[{\em cplx}]The complex upon which the complex psite set is built. \end{DoxyParams}


Definition at line 192 of file p\_\-faces.hh.

\hypertarget{a00304_a54876d8776c09714e0ade068e1cdbfd9}{
\index{mln::p\_\-faces@{mln::p\_\-faces}!p\_\-faces@{p\_\-faces}}
\index{p\_\-faces@{p\_\-faces}!mln::p_faces@{mln::p\_\-faces}}
\subsubsection[{p\_\-faces}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned N, unsigned D, typename P $>$ {\bf mln::p\_\-faces}$<$ N, D, P $>$::{\bf p\_\-faces} (
\begin{DoxyParamCaption}
\item[{const {\bf p\_\-complex}$<$ D, P $>$ \&}]{ pc}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d8/d17/a00304_a54876d8776c09714e0ade068e1cdbfd9}


Construct a faces psite set from an \hyperlink{a00302}{mln::p\_\-complex}. 


\begin{DoxyParams}{Parameters}
\item[{\em pc}]The complex upon which the complex psite set is built.\end{DoxyParams}


Definition at line 201 of file p\_\-faces.hh.



\subsection{Member Function Documentation}
\hypertarget{a00304_aaaaaea1636cac6d1cfca25ae00479c45}{
\index{mln::p\_\-faces@{mln::p\_\-faces}!cplx@{cplx}}
\index{cplx@{cplx}!mln::p_faces@{mln::p\_\-faces}}
\subsubsection[{cplx}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned N, unsigned D, typename P $>$ {\bf topo::complex}$<$ D $>$ \& {\bf mln::p\_\-faces}$<$ N, D, P $>$::cplx (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}
\label{d8/d17/a00304_aaaaaea1636cac6d1cfca25ae00479c45}


Accessors. 

Return the complex associated to the \hyperlink{a00304}{p\_\-faces} domain (const version). 

Definition at line 257 of file p\_\-faces.hh.



References mln::p\_\-faces$<$ N, D, P $>$::is\_\-valid().



Referenced by mln::faces\_\-psite$<$ N, D, P $>$::change\_\-target(), and mln::operator==().

\hypertarget{a00304_a8d9080fb59e6ad5c558d9e90d8b6f464}{
\index{mln::p\_\-faces@{mln::p\_\-faces}!cplx@{cplx}}
\index{cplx@{cplx}!mln::p_faces@{mln::p\_\-faces}}
\subsubsection[{cplx}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned N, unsigned D, typename P $>$ {\bf topo::complex}$<$ D $>$ \& {\bf mln::p\_\-faces}$<$ N, D, P $>$::cplx (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{d8/d17/a00304_a8d9080fb59e6ad5c558d9e90d8b6f464}


Return the complex associated to the \hyperlink{a00304}{p\_\-faces} domain (mutable version). 



Definition at line 265 of file p\_\-faces.hh.



References mln::p\_\-faces$<$ N, D, P $>$::is\_\-valid().

\hypertarget{a00304_aef627c85cf1e2f92be754a7ca0a2f63f}{
\index{mln::p\_\-faces@{mln::p\_\-faces}!is\_\-valid@{is\_\-valid}}
\index{is\_\-valid@{is\_\-valid}!mln::p_faces@{mln::p\_\-faces}}
\subsubsection[{is\_\-valid}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned N, unsigned D, typename P $>$ bool {\bf mln::p\_\-faces}$<$ N, D, P $>$::is\_\-valid (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d8/d17/a00304_aef627c85cf1e2f92be754a7ca0a2f63f}


Is this site set valid? 



Definition at line 227 of file p\_\-faces.hh.



Referenced by mln::p\_\-faces$<$ N, D, P $>$::cplx().

\hypertarget{a00304_a2438ae5e4d3c5880b61d3f655bf6991c}{
\index{mln::p\_\-faces@{mln::p\_\-faces}!nfaces@{nfaces}}
\index{nfaces@{nfaces}!mln::p_faces@{mln::p\_\-faces}}
\subsubsection[{nfaces}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned N, unsigned D, typename P $>$ unsigned {\bf mln::p\_\-faces}$<$ N, D, P $>$::nfaces (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d8/d17/a00304_a2438ae5e4d3c5880b61d3f655bf6991c}


Return The number of faces in the complex. 



Definition at line 219 of file p\_\-faces.hh.



Referenced by mln::p\_\-faces$<$ N, D, P $>$::nsites().

\hypertarget{a00304_af1708608d24f454ed4c96808e89594b1}{
\index{mln::p\_\-faces@{mln::p\_\-faces}!nsites@{nsites}}
\index{nsites@{nsites}!mln::p_faces@{mln::p\_\-faces}}
\subsubsection[{nsites}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned N, unsigned D, typename P $>$ unsigned {\bf mln::p\_\-faces}$<$ N, D, P $>$::nsites (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d8/d17/a00304_af1708608d24f454ed4c96808e89594b1}


Return The number of sites of the set, i.e., the number of {\itshape faces\/}. 

(Required by the \hyperlink{a00348}{mln::Site\_\-Set} concept, since the property trait::site\_\-set::nsites::known of this site set is set to `known'.) 

Definition at line 211 of file p\_\-faces.hh.



References mln::p\_\-faces$<$ N, D, P $>$::nfaces().

