Compute the rectangularity of a site set. More...
#include <rectangularity.hh>
Inherits couple< accu::shape::bbox< P >, accu::math::count< P >, float, rectangularity< P > >.
Public Member Functions | |
A2::result | area () const |
Return the site set area. | |
A1::result | bbox () const |
Return the site set bounding box. | |
rectangularity () | |
Constructor. | |
template<typename T > | |
void | take_as_init (const T &t) |
Take as initialization the value t . | |
template<typename T > | |
void | take_n_times (unsigned n, const T &t) |
Take n times the value t . | |
result | to_result () const |
Return the rectangularity value. |
Compute the rectangularity of a site set.
Definition at line 51 of file rectangularity.hh.
mln::accu::site_set::rectangularity< P >::rectangularity | ( | ) | [inline] |
Constructor.
Definition at line 91 of file rectangularity.hh.
rectangularity< P >::A2::result mln::accu::site_set::rectangularity< P >::area | ( | ) | const [inline] |
Return the site set area.
Definition at line 107 of file rectangularity.hh.
rectangularity< P >::A1::result mln::accu::site_set::rectangularity< P >::bbox | ( | ) | const [inline] |
Return the site set bounding box.
Definition at line 98 of file rectangularity.hh.
void mln::Accumulator< E >::take_as_init | ( | const T & | t | ) | [inherited] |
Take as initialization the value t
.
Dev note: this is a final method; override if needed by take_as_init_ (ending with '_').
Definition at line 186 of file accumulator.hh.
References mln::mln_exact().
void mln::Accumulator< E >::take_n_times | ( | unsigned | n, | |
const T & | t | |||
) | [inherited] |
Take n
times the value t
.
Dev note: this is a final method; override if needed by take_as_init_ (ending with '_').
Definition at line 213 of file accumulator.hh.
References mln::mln_exact().
rectangularity< P >::result mln::accu::site_set::rectangularity< P >::to_result | ( | ) | const [inline] |
Return the rectangularity value.
Definition at line 116 of file rectangularity.hh.