mln::topo::n_faces_set< N, D > Class Template Reference

Set of face handles of dimension N. More...

#include <n_faces_set.hh>

List of all members.

Public Types

typedef std::vector
< algebraic_n_face< N, D > > 
faces_type
 The type of the set of face handles.

Public Member Functions

void add (const algebraic_n_face< N, D > &f)
 Append an algebraic face f to the set.
void reserve (size_t n)
 Reserve n cells in the set.
const faces_typefaces () const
 Accessors.


Detailed Description

template<unsigned N, unsigned D>
class mln::topo::n_faces_set< N, D >

Set of face handles of dimension N.

Member Typedef Documentation

template<unsigned N, unsigned D>
typedef std::vector< algebraic_n_face<N, D> > mln::topo::n_faces_set< N, D >::faces_type

The type of the set of face handles.


Member Function Documentation

template<unsigned N, unsigned D>
void mln::topo::n_faces_set< N, D >::add ( const algebraic_n_face< N, D > &  f  )  [inline]

Append an algebraic face f to the set.

References mln::topo::n_face< N, D >::cplx().

Referenced by mln::topo::operator+(), and mln::topo::operator-().

template<unsigned N, unsigned D>
const std::vector< algebraic_n_face< N, D > > & mln::topo::n_faces_set< N, D >::faces (  )  const [inline]

Accessors.

Return the set of handles.

Referenced by mln::topo::complex< D >::add_face().

template<unsigned N, unsigned D>
void mln::topo::n_faces_set< N, D >::reserve ( size_t  n  )  [inline]

Reserve n cells in the set.

This methods does not change the content of faces_; it only pre-allocate memory. Method reserve is provided for efficiency purpose, and its use is completely optional.


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