\hypertarget{a00154}{
\section{mln::complex\_\-psite$<$ D, G $>$ Class Template Reference}
\label{d3/d65/a00154}\index{mln::complex\_\-psite@{mln::complex\_\-psite}}
}


\hyperlink{a00329}{Point} site associated to a \hyperlink{a00302}{mln::p\_\-complex}.  




{\ttfamily \#include $<$complex\_\-psite.hh$>$}



Inherits pseudo\_\-site\_\-base\_\-$<$ const G::site \&, complex\_\-psite$<$ D, G $>$ $>$.

\subsection*{Public Member Functions}
\begin{Indent}{\bf }\par
{\em \label{_amgrpd41d8cd98f00b204e9800998ecf8427e}
 }\begin{DoxyCompactItemize}
\item 
\hyperlink{a00154_aa3692c98c70d88505d71f85e9ba2b29d}{complex\_\-psite} ()
\begin{DoxyCompactList}\small\item\em Construction and assignment. \item\end{DoxyCompactList}\item 
\hyperlink{a00154_ade55192c2a95e7e63bd807ef279b7fe8}{complex\_\-psite} (const \hyperlink{a00302}{p\_\-complex}$<$ D, G $>$ \&pc, const \hyperlink{a00373}{topo::face}$<$ D $>$ \&face)
\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf }\par
{\em \label{_amgrpd41d8cd98f00b204e9800998ecf8427e}
 }\begin{DoxyCompactItemize}
\item 
bool \hyperlink{a00154_a9c6ac2072e901ee92362e16ab663f3f9}{is\_\-valid} () const 
\begin{DoxyCompactList}\small\item\em Psite manipulators. \item\end{DoxyCompactList}\item 
void \hyperlink{a00154_aaab3fe8f98cb2cfe1547779674b3ba43}{invalidate} ()
\begin{DoxyCompactList}\small\item\em Invalidate this psite. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf }\par
{\em \label{_amgrpd41d8cd98f00b204e9800998ecf8427e}
 }\begin{DoxyCompactItemize}
\item 
const \hyperlink{a00302}{target} \& \hyperlink{a00154_a37a03ac812fa21d05c963e7d12ad5d68}{site\_\-set} () const 
\begin{DoxyCompactList}\small\item\em \hyperlink{a00343}{Site} set manipulators. \item\end{DoxyCompactList}\item 
void \hyperlink{a00154_af82f7f4adc49e1c809e87ac8277b675f}{change\_\-target} (const \hyperlink{a00302}{target} \&new\_\-target)
\begin{DoxyCompactList}\small\item\em Set the target site\_\-set. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf }\par
{\em \label{_amgrpd41d8cd98f00b204e9800998ecf8427e}
 }\begin{DoxyCompactItemize}
\item 
const \hyperlink{a00373}{topo::face}$<$ D $>$ \& \hyperlink{a00154_a50c90f5b3f1abb7143f5adec6d7f8837}{face} () const 
\begin{DoxyCompactList}\small\item\em Face handle manipulators. \item\end{DoxyCompactList}\item 
unsigned \hyperlink{a00154_a23da33cce78e1b4ff704ee6a48356c3c}{n} () const 
\begin{DoxyCompactList}\small\item\em Return the dimension of the face of this psite. \item\end{DoxyCompactList}\item 
unsigned \hyperlink{a00154_ab6509d9c26052ae46cc51bc1bd28c396}{face\_\-id} () const 
\begin{DoxyCompactList}\small\item\em Return the id of the face of this psite. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}


\subsection{Detailed Description}
\subsubsection*{template$<$unsigned D, typename G$>$ class mln::complex\_\-psite$<$ D, G $>$}

\hyperlink{a00329}{Point} site associated to a \hyperlink{a00302}{mln::p\_\-complex}. 
\begin{DoxyTemplParams}{Template Parameters}
\item[{\em D}]The dimension of the complex this psite belongs to. \item[{\em G}]The geometry of the complex. \end{DoxyTemplParams}


Definition at line 60 of file complex\_\-psite.hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00154_aa3692c98c70d88505d71f85e9ba2b29d}{
\index{mln::complex\_\-psite@{mln::complex\_\-psite}!complex\_\-psite@{complex\_\-psite}}
\index{complex\_\-psite@{complex\_\-psite}!mln::complex_psite@{mln::complex\_\-psite}}
\subsubsection[{complex\_\-psite}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G $>$ {\bf mln::complex\_\-psite}$<$ D, G $>$::{\bf complex\_\-psite} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d3/d65/a00154_aa3692c98c70d88505d71f85e9ba2b29d}


Construction and assignment. 



Definition at line 203 of file complex\_\-psite.hh.



References mln::complex\_\-psite$<$ D, G $>$::invalidate().

\hypertarget{a00154_ade55192c2a95e7e63bd807ef279b7fe8}{
\index{mln::complex\_\-psite@{mln::complex\_\-psite}!complex\_\-psite@{complex\_\-psite}}
\index{complex\_\-psite@{complex\_\-psite}!mln::complex_psite@{mln::complex\_\-psite}}
\subsubsection[{complex\_\-psite}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G $>$ {\bf mln::complex\_\-psite}$<$ D, G $>$::{\bf complex\_\-psite} (
\begin{DoxyParamCaption}
\item[{const {\bf p\_\-complex}$<$ D, G $>$ \&}]{ pc, }
\item[{const {\bf topo::face}$<$ D $>$ \&}]{ face}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d3/d65/a00154_ade55192c2a95e7e63bd807ef279b7fe8}
\begin{DoxyPrecond}{Precondition}
pc.cplx() == face.cplx(). 
\end{DoxyPrecond}


Definition at line 211 of file complex\_\-psite.hh.



References mln::topo::face$<$ D $>$::cplx(), mln::p\_\-complex$<$ D, G $>$::cplx(), and mln::complex\_\-psite$<$ D, G $>$::is\_\-valid().



\subsection{Member Function Documentation}
\hypertarget{a00154_af82f7f4adc49e1c809e87ac8277b675f}{
\index{mln::complex\_\-psite@{mln::complex\_\-psite}!change\_\-target@{change\_\-target}}
\index{change\_\-target@{change\_\-target}!mln::complex_psite@{mln::complex\_\-psite}}
\subsubsection[{change\_\-target}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G $>$ void {\bf mln::complex\_\-psite}$<$ D, G $>$::change\_\-target (
\begin{DoxyParamCaption}
\item[{const {\bf target} \&}]{ new\_\-target}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d3/d65/a00154_af82f7f4adc49e1c809e87ac8277b675f}


Set the target site\_\-set. 



Definition at line 280 of file complex\_\-psite.hh.



References mln::p\_\-complex$<$ D, G $>$::cplx(), and mln::complex\_\-psite$<$ D, G $>$::invalidate().

\hypertarget{a00154_a50c90f5b3f1abb7143f5adec6d7f8837}{
\index{mln::complex\_\-psite@{mln::complex\_\-psite}!face@{face}}
\index{face@{face}!mln::complex_psite@{mln::complex\_\-psite}}
\subsubsection[{face}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G $>$ const {\bf topo::face}$<$ D $>$ \& {\bf mln::complex\_\-psite}$<$ D, G $>$::face (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d3/d65/a00154_a50c90f5b3f1abb7143f5adec6d7f8837}


Face handle manipulators. 

Return the face handle of this point site. 

Definition at line 301 of file complex\_\-psite.hh.



Referenced by mln::operator!=(), and mln::operator==().

\hypertarget{a00154_ab6509d9c26052ae46cc51bc1bd28c396}{
\index{mln::complex\_\-psite@{mln::complex\_\-psite}!face\_\-id@{face\_\-id}}
\index{face\_\-id@{face\_\-id}!mln::complex_psite@{mln::complex\_\-psite}}
\subsubsection[{face\_\-id}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G $>$ unsigned {\bf mln::complex\_\-psite}$<$ D, G $>$::face\_\-id (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d3/d65/a00154_ab6509d9c26052ae46cc51bc1bd28c396}


Return the id of the face of this psite. 



Definition at line 317 of file complex\_\-psite.hh.



Referenced by mln::complex\_\-image$<$ D, G, V $>$::operator()().

\hypertarget{a00154_aaab3fe8f98cb2cfe1547779674b3ba43}{
\index{mln::complex\_\-psite@{mln::complex\_\-psite}!invalidate@{invalidate}}
\index{invalidate@{invalidate}!mln::complex_psite@{mln::complex\_\-psite}}
\subsubsection[{invalidate}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G $>$ void {\bf mln::complex\_\-psite}$<$ D, G $>$::invalidate (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d3/d65/a00154_aaab3fe8f98cb2cfe1547779674b3ba43}


Invalidate this psite. 



Definition at line 251 of file complex\_\-psite.hh.



Referenced by mln::complex\_\-psite$<$ D, G $>$::change\_\-target(), and mln::complex\_\-psite$<$ D, G $>$::complex\_\-psite().

\hypertarget{a00154_a9c6ac2072e901ee92362e16ab663f3f9}{
\index{mln::complex\_\-psite@{mln::complex\_\-psite}!is\_\-valid@{is\_\-valid}}
\index{is\_\-valid@{is\_\-valid}!mln::complex_psite@{mln::complex\_\-psite}}
\subsubsection[{is\_\-valid}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G $>$ bool {\bf mln::complex\_\-psite}$<$ D, G $>$::is\_\-valid (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d3/d65/a00154_a9c6ac2072e901ee92362e16ab663f3f9}


Psite manipulators. 

Is this psite valid? 

Definition at line 239 of file complex\_\-psite.hh.



Referenced by mln::complex\_\-psite$<$ D, G $>$::complex\_\-psite(), and mln::p\_\-complex$<$ D, G $>$::has().

\hypertarget{a00154_a23da33cce78e1b4ff704ee6a48356c3c}{
\index{mln::complex\_\-psite@{mln::complex\_\-psite}!n@{n}}
\index{n@{n}!mln::complex_psite@{mln::complex\_\-psite}}
\subsubsection[{n}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G $>$ unsigned {\bf mln::complex\_\-psite}$<$ D, G $>$::n (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d3/d65/a00154_a23da33cce78e1b4ff704ee6a48356c3c}


Return the dimension of the face of this psite. 



Definition at line 309 of file complex\_\-psite.hh.



Referenced by mln::make::cell(), and mln::complex\_\-image$<$ D, G, V $>$::operator()().

\hypertarget{a00154_a37a03ac812fa21d05c963e7d12ad5d68}{
\index{mln::complex\_\-psite@{mln::complex\_\-psite}!site\_\-set@{site\_\-set}}
\index{site\_\-set@{site\_\-set}!mln::complex_psite@{mln::complex\_\-psite}}
\subsubsection[{site\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G $>$ const {\bf p\_\-complex}$<$ D, G $>$ \& {\bf mln::complex\_\-psite}$<$ D, G $>$::site\_\-set (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d3/d65/a00154_a37a03ac812fa21d05c963e7d12ad5d68}


\hyperlink{a00343}{Site} set manipulators. 

Return the \hyperlink{a00302}{mln::p\_\-complex} this site is built on. (shortcut for $\ast$target()). \begin{DoxyPrecond}{Precondition}
Member face\_\- is valid. 
\end{DoxyPrecond}


Definition at line 259 of file complex\_\-psite.hh.



Referenced by mln::p\_\-complex$<$ D, G $>$::has(), mln::operator!=(), and mln::operator==().

