$extrastylesheet
#include <mln/topo/is_simple_cell.hh>
Public Member Functions | |
is_simple_cell () | |
is_simple_cell (const mln::Image< I > &ima) | |
bool | operator() (const typename I::psite &p) const |
void | set_image (const mln::Image< I > &ima) |
Public Types | |
typedef Function_v2b< void > | category |
typedef is_simple_cell< I, N, NL, NH > | exact_t |
typedef void | mutable_result |
typedef bool | result |
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.
I | The type of the image. |
N | The neighborhood type returning the set of (n-1)- and (n+1)-faces adjacent to a an n-face. |
NL | The neighborhood type returning the set of (n-1)-faces adjacent to a an n-face. |
NH | The neighborhood type returning the set of (n+1)-faces adjacent to a an n-face. |
Definition at line 72 of file is_simple_cell.hh.
mln::topo::is_simple_cell< I, N, NL, NH >::is_simple_cell | ( | ) |
mln::topo::is_simple_cell< I, N, NL, NH >::is_simple_cell | ( | const mln::Image< I > & | ima | ) |
bool mln::topo::is_simple_cell< I, N, NL, NH >::operator() | ( | const typename I::psite & | p | ) | const |
Test whether a face (expected to be facet) is a simple cell.
If p is not a facet, return false.
Based on the algorithm A2 from couprie.08.pami.
void mln::topo::is_simple_cell< I, N, NL, NH >::set_image | ( | const mln::Image< I > & | ima | ) |
Set the underlying image.
|
inherited |
Definition at line 162 of file function.hh.
|
inherited |
|
inherited |
Definition at line 135 of file function.hh.
typedef bool mln::topo::is_simple_cell< I, N, NL, NH >::result |
Result type of the functor.
Definition at line 77 of file is_simple_cell.hh.