$extrastylesheet
#include <mln/topo/n_face.hh>
Public Member Functions | |
n_face () | |
n_face (complex< D > &complex, unsigned face_id) | |
void | invalidate () |
bool | is_valid () const |
complex< D > | cplx () const |
unsigned | face_id () const |
void | set_cplx (const complex< D > &cplx) |
unsigned | n () const |
void | set_face_id (unsigned face_id) |
void | inc_face_id () |
void | dec_face_id () |
face_data< N, D > & | data () const |
std::vector< algebraic_n_face < N-1, D > > | lower_dim_adj_faces () const |
std::vector< algebraic_n_face < N+1, D > > | higher_dim_adj_faces () const |
Public Types | |
typedef complex< D > | complex_type |
N-face
handle in a complex.
Contrary to an mln::topo::face, the dimension of an mln::topo::n_face is fixed.
mln::topo::n_face< N, D >::n_face | ( | ) |
Build a non-initialized face handle.
mln::topo::n_face< N, D >::n_face | ( | complex< D > & | complex, |
unsigned | face_id | ||
) |
Build a face handle from complex and face_id.
complex<D> mln::topo::n_face< N, D >::cplx | ( | ) | const |
Accessors.
Return the complex the face belongs to.
face_data<N, D>& mln::topo::n_face< N, D >::data | ( | ) | const |
Return the mln::topo::face_data pointed by this handle.
void mln::topo::n_face< N, D >::dec_face_id | ( | ) |
Decrement the id of the face.
unsigned mln::topo::n_face< N, D >::face_id | ( | ) | const |
Return the id of the face.
std::vector< algebraic_n_face<N + 1, D> > mln::topo::n_face< N, D >::higher_dim_adj_faces | ( | ) | const |
Return an array of face handles pointing to adjacent (n+1)-faces.
void mln::topo::n_face< N, D >::inc_face_id | ( | ) |
Increment the id of the face.
void mln::topo::n_face< N, D >::invalidate | ( | ) |
Invalidate this handle.
bool mln::topo::n_face< N, D >::is_valid | ( | ) | const |
Is this handle valid?
std::vector< algebraic_n_face<N - 1, D> > mln::topo::n_face< N, D >::lower_dim_adj_faces | ( | ) | const |
Return an array of face handles pointing to adjacent (n-1)-faces.
unsigned mln::topo::n_face< N, D >::n | ( | ) | const |
Return the dimension of the face.
void mln::topo::n_face< N, D >::set_cplx | ( | const complex< D > & | cplx | ) |
Set the complex the face belongs to.
void mln::topo::n_face< N, D >::set_face_id | ( | unsigned | face_id | ) |
Set the id of the face.
typedef complex<D> mln::topo::n_face< N, D >::complex_type |