mln::faces_psite< N, D, P > Class Template Reference

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

#include <faces_psite.hh>

Inherits pseudo_site_base_< const P &, faces_psite< N, D, P > >.

List of all members.

Public Member Functions

 faces_psite ()
 Construction and assignment.
 faces_psite (const p_faces< N, D, P > &pf, const topo::n_face< N, 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.

topo::n_face< N, 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 N, unsigned D, typename P>
class mln::faces_psite< N, D, P >

Point site associated to a mln::p_faces.

Template Parameters:
N The dimension of the face associated to this psite.
D The dimension of the complex this psite belongs to.
P The type of point associated to this psite.

Definition at line 56 of file faces_psite.hh.


Constructor & Destructor Documentation

template<unsigned N, unsigned D, typename P >
mln::faces_psite< N, D, P >::faces_psite (  )  [inline]

Construction and assignment.

Definition at line 190 of file faces_psite.hh.

References mln::faces_psite< N, D, P >::invalidate().

template<unsigned N, unsigned D, typename P >
mln::faces_psite< N, D, P >::faces_psite ( const p_faces< N, D, P > &  pf,
const topo::n_face< N, D > &  face 
) [inline]
Precondition:
pf.cplx() == face.cplx().

Definition at line 201 of file faces_psite.hh.


Member Function Documentation

template<unsigned N, unsigned D, typename P >
void mln::faces_psite< N, D, P >::change_target ( const target new_target  )  [inline]

Set the target site_set.

Definition at line 265 of file faces_psite.hh.

References mln::p_faces< N, D, P >::cplx(), and mln::faces_psite< N, D, P >::invalidate().

template<unsigned N, unsigned D, typename P >
topo::n_face< N, D > mln::faces_psite< N, D, P >::face (  )  const [inline]

Face handle manipulators.

Return the face handle of this point site.

Definition at line 289 of file faces_psite.hh.

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

template<unsigned N, unsigned D, typename P >
unsigned mln::faces_psite< N, D, P >::face_id (  )  const [inline]

Return the id of the face of this psite.

Definition at line 305 of file faces_psite.hh.

template<unsigned N, unsigned D, typename P >
void mln::faces_psite< N, D, P >::invalidate (  )  [inline]

Invalidate this psite.

Definition at line 239 of file faces_psite.hh.

Referenced by mln::faces_psite< N, D, P >::change_target(), and mln::faces_psite< N, D, P >::faces_psite().

template<unsigned N, unsigned D, typename P >
bool mln::faces_psite< N, D, P >::is_valid (  )  const [inline]

Psite manipulators.

Is this psite valid?

Definition at line 230 of file faces_psite.hh.

template<unsigned N, unsigned D, typename P >
unsigned mln::faces_psite< N, D, P >::n (  )  const [inline]

Return the dimension of the face of this psite.

Definition at line 297 of file faces_psite.hh.

template<unsigned N, unsigned D, typename P >
const p_faces< N, D, P > & mln::faces_psite< N, D, P >::site_set (  )  const [inline]

Site set manipulators.

Return the p_faces this site is built on. (shortcut for *target()).

Precondition:
Member face_ is valid.

Definition at line 247 of file faces_psite.hh.

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