mln::topo::algebraic_face< D > Struct Template Reference

Algebraic face handle in a complex; the face dimension is dynamic. More...

#include <algebraic_face.hh>

Inheritance diagram for mln::topo::algebraic_face< D >:

Inheritance graph

List of all members.

Public Member Functions

template<unsigned N>
 algebraic_face (const algebraic_n_face< N, D > &f)
 Build a face handle from an mln::topo::algebraic_n_face.
 algebraic_face (const face< D > &f, bool sign)
 Build an algebraic face handle from an mln::face.
 algebraic_face (complex< D > &complex, unsigned n, unsigned face_id, bool sign)
 Build an algebraic face handle from complex and face_id.
 algebraic_face ()
 Build a non-initialized algebraic face handle.
void invalidate ()
 Invalidate this handle.
bool is_valid () const
 Is this handle valid?
complex< D > cplx () const
 Accessors.
face_data< N, D > & data () const
 Return the mln::topo::face_data pointed by this handle.
void dec_face_id ()
 Decrement the id of the face.
void dec_n ()
 Decrement the dimension of the face.
unsigned face_id () const
 Return the id of the face.
std::vector< algebraic_face< D > > higher_dim_adj_faces () const
 Return an array of face handles pointing to adjacent (n+1)-faces.
void inc_face_id ()
 Increment the id of the face.
void inc_n ()
 Increment the dimension of the face.
std::vector< algebraic_face< D > > lower_dim_adj_faces () const
 Return an array of face handles pointing to adjacent (n-1)-faces.
unsigned n () const
 Return the dimension of the face.
void set_cplx (const complex< D > &cplx)
 Set the complex the face belongs to.
void set_face_id (unsigned face_id)
 Set the id of the face.
void set_n (unsigned n)
 Set the dimension of the face.
void set_sign (bool sign)
 Set the sign of this face.
bool sign () const
 Accessors.


Detailed Description

template<unsigned D>
struct mln::topo::algebraic_face< D >

Algebraic face handle in a complex; the face dimension is dynamic.

Contrary to an mln::topo::algebraic_n_face, the dimension of an mln::topo::algebraic_face is not fixed.


Constructor & Destructor Documentation

template<unsigned D>
mln::topo::algebraic_face< D >::algebraic_face (  )  [inline]

Build a non-initialized algebraic face handle.

template<unsigned D>
mln::topo::algebraic_face< D >::algebraic_face ( complex< D > &  complex,
unsigned  n,
unsigned  face_id,
bool  sign 
) [inline]

Build an algebraic face handle from complex and face_id.

template<unsigned D>
mln::topo::algebraic_face< D >::algebraic_face ( const face< D > &  f,
bool  sign 
) [inline]

Build an algebraic face handle from an mln::face.

References mln::topo::face< D >::n().

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

Build a face handle from an mln::topo::algebraic_n_face.


Member Function Documentation

complex<D> mln::topo::face< D >::cplx (  )  const [inherited]

Accessors.

Return the complex the face belongs to.

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

face_data<N, D>& mln::topo::face< D >::data (  )  const [inline, inherited]

Return the mln::topo::face_data pointed by this handle.

void mln::topo::face< D >::dec_face_id (  )  [inherited]

Decrement the id of the face.

void mln::topo::face< D >::dec_n (  )  [inherited]

Decrement the dimension of the face.

unsigned mln::topo::face< D >::face_id (  )  const [inherited]

Return the id of the face.

Referenced by mln::topo::operator==().

std::vector< algebraic_face<D> > mln::topo::face< D >::higher_dim_adj_faces (  )  const [inherited]

Return an array of face handles pointing to adjacent (n+1)-faces.

void mln::topo::face< D >::inc_face_id (  )  [inherited]

Increment the id of the face.

void mln::topo::face< D >::inc_n (  )  [inherited]

Increment the dimension of the face.

void mln::topo::face< D >::invalidate (  )  [inherited]

Invalidate this handle.

bool mln::topo::face< D >::is_valid (  )  const [inherited]

Is this handle valid?

std::vector< algebraic_face<D> > mln::topo::face< D >::lower_dim_adj_faces (  )  const [inherited]

Return an array of face handles pointing to adjacent (n-1)-faces.

unsigned mln::topo::face< D >::n (  )  const [inherited]

Return the dimension of the face.

Referenced by mln::topo::operator==().

void mln::topo::face< D >::set_cplx ( const complex< D > &  cplx  )  [inherited]

Set the complex the face belongs to.

void mln::topo::face< D >::set_face_id ( unsigned  face_id  )  [inherited]

Set the id of the face.

void mln::topo::face< D >::set_n ( unsigned  n  )  [inherited]

Set the dimension of the face.

template<unsigned D>
void mln::topo::algebraic_face< D >::set_sign ( bool  sign  )  [inline]

Set the sign of this face.

template<unsigned D>
bool mln::topo::algebraic_face< D >::sign (  )  const [inline]

Accessors.

Return the sign of this face.

Referenced by mln::topo::operator==().


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