N
.
More...
#include <n_faces_set.hh>
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_type & | faces () const |
Accessors. | |
Private Attributes | |
faces_type | faces_ |
The set of face handles. | |
Friends | |
class | complex< D > |
N
.
Definition at line 56 of file n_faces_set.hh.
typedef std::vector< algebraic_n_face<N, D> > mln::topo::n_faces_set< N, D >::faces_type |
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.
Definition at line 171 of file n_faces_set.hh.
References mln::topo::n_face< N, D >::cplx(), and mln::topo::n_faces_set< N, D >::faces_.
Referenced by mln::topo::operator+(), mln::topo::operator+=(), mln::topo::operator-(), and mln::topo::operator-=().
const std::vector< algebraic_n_face< N, D > > & mln::topo::n_faces_set< N, D >::faces | ( | ) | const [inline] |
Accessors.
Return the set of handles.
Definition at line 190 of file n_faces_set.hh.
References mln::topo::n_faces_set< N, D >::faces_.
Referenced by mln::topo::complex< D >::add_face().
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.
Definition at line 182 of file n_faces_set.hh.
References mln::topo::n_faces_set< N, D >::faces_.
Referenced by mln::io::off::internal::off_loader< I, E >::operator()().
friend class complex< D > [friend] |
Definition at line 80 of file n_faces_set.hh.
faces_type mln::topo::n_faces_set< N, D >::faces_ [private] |
Definition at line 83 of file n_faces_set.hh.
Referenced by mln::topo::n_faces_set< N, D >::add(), mln::topo::n_faces_set< N, D >::faces(), and mln::topo::n_faces_set< N, D >::reserve().