A predicate for the simplicity of a point based on the collapse property of the attachment. More...
#include <is_simple_cell.hh>
Public Types | |
typedef mln::complex_psite< D, G > | psite |
Psite type. | |
typedef bool | result |
Result type of the functor. | |
Public Member Functions | |
typedef | mln_geom (I) G |
Geometry of the image. | |
bool | operator() (const mln::complex_psite< I::dim, mln_geom(I)> &p) const |
Based on the algorithm A2 from couprie.08.pami. | |
void | set_image (const mln::Image< I > &ima) |
Set the underlying image. | |
Static Public Attributes | |
static const unsigned | D = I::dim |
Dimension of the image (and therefore of the complex). |
A predicate for the simplicity of a point based on the collapse property of the attachment.
The functor does not actually take a cell as input, but a face that is expected to be a D-facet.
Definition at line 57 of file is_simple_cell.hh.
typedef mln::complex_psite<D, G> mln::topo::is_simple_cell< I >::psite |
Psite type.
Definition at line 65 of file is_simple_cell.hh.
typedef bool mln::topo::is_simple_cell< I >::result |
Result type of the functor.
Reimplemented from mln::Function_v2b< is_simple_cell< I > >.
Definition at line 68 of file is_simple_cell.hh.
typedef mln::topo::is_simple_cell< I >::mln_geom | ( | I | ) |
Geometry of the image.
bool mln::topo::is_simple_cell< I >::operator() | ( | const mln::complex_psite< I::dim, mln_geom(I)> & | p | ) | const [inline] |
Based on the algorithm A2 from couprie.08.pami.
Definition at line 115 of file is_simple_cell.hh.
References mln::make::attachment().
void mln::topo::is_simple_cell< I >::set_image | ( | const mln::Image< I > & | ima | ) | [inline] |
Set the underlying image.
Definition at line 107 of file is_simple_cell.hh.
const unsigned mln::topo::is_simple_cell< I >::D = I::dim [static] |
Dimension of the image (and therefore of the complex).
Definition at line 61 of file is_simple_cell.hh.