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