mln::complex_psite< D, G > Class Template Reference

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

#include <complex_psite.hh>

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

List of all members.

Public Member Functions

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


Detailed Description

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

Point site associated to a mln::p_complex.

Template Parameters:
D The dimension of the complex this psite belongs to.
G The geometry of the complex.

Constructor & Destructor Documentation

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

Construction and assignment.

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]


Member Function Documentation

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

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.

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.

Referenced by mln::complex_image< D, G, V >::operator()().

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

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

Psite manipulators.

Is this psite valid?

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.

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.

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


Generated on Tue Jul 14 16:32:17 2009 for Milena (Olena) by  doxygen 1.5.9