Milena (Olena)  User documentation 2.0a Id
mln::complex_psite< D, G > Class Template Reference

Point site associated to a mln::p_complex. More...

#include <complex_psite.hh>

Inherits mln::internal::pseudo_site_base_< const G::site &, complex_psite< D, G > >.

List of all members.

Public Member Functions

 complex_psite ()
 Construction and assignment.
 complex_psite (const p_complex< D, G > &pc, const topo::face< D > &face)
bool is_valid () const
 Psite manipulators.
void invalidate ()
 Invalidate this psite.
const targetsite_set () const
 Site set manipulators.
void change_target (const target &new_target)
 Set the target site_set.
const topo::face< D > & face () const
 Face handle manipulators.
unsigned n () const
 Return the dimension of the face of this psite.
unsigned face_id () const
 Return the id of the face of this psite.

Detailed Description

template<unsigned D, typename G>
class mln::complex_psite< D, G >

Point site associated to a mln::p_complex.

Template Parameters:
DThe dimension of the complex this psite belongs to.
GThe geometry of the complex.

Definition at line 60 of file complex_psite.hh.


Constructor & Destructor Documentation

template<unsigned D, typename G >
mln::complex_psite< D, G >::complex_psite ( ) [inline]

Construction and assignment.

Definition at line 203 of file complex_psite.hh.

References mln::complex_psite< D, G >::invalidate().

template<unsigned D, typename G >
mln::complex_psite< D, G >::complex_psite ( const p_complex< D, G > &  pc,
const topo::face< D > &  face 
) [inline]
Precondition:
pc.cplx() == face.cplx().

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().


Member Function Documentation

template<unsigned D, typename G >
void mln::complex_psite< D, G >::change_target ( const target new_target) [inline]

Set the target site_set.

Definition at line 280 of file complex_psite.hh.

References mln::p_complex< D, G >::cplx().

template<unsigned D, typename G >
const topo::face< D > & mln::complex_psite< D, G >::face ( ) const [inline]

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==().

template<unsigned D, typename G >
unsigned mln::complex_psite< D, G >::face_id ( ) const [inline]

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()().

template<unsigned D, typename G >
void mln::complex_psite< D, G >::invalidate ( ) [inline]

Invalidate this psite.

Definition at line 251 of file complex_psite.hh.

Referenced by mln::complex_psite< D, G >::complex_psite().

template<unsigned D, typename G >
bool mln::complex_psite< D, G >::is_valid ( ) const [inline]

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().

template<unsigned D, typename G >
unsigned mln::complex_psite< D, G >::n ( ) const [inline]

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()().

template<unsigned D, typename G >
const p_complex< D, G > & mln::complex_psite< D, G >::site_set ( ) const [inline]

Site set manipulators.

Return the mln::p_complex this site is built on. (shortcut for *target()).

Precondition:
Member face_ is valid.

Definition at line 259 of file complex_psite.hh.

Referenced by mln::p_complex< D, G >::has(), mln::operator!=(), and mln::operator==().

 All Classes Namespaces Functions Variables Typedefs Enumerator