Milena (Olena)  User documentation 2.0a Id
 All Classes Namespaces Functions Variables Typedefs Enumerator Groups Pages
mln::accu::site_set::rectangularity< P > Class Template Reference

Compute the rectangularity of a site set. More...

#include <rectangularity.hh>

Inherits mln::accu::internal::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.
 

Detailed Description

template<typename P>
class mln::accu::site_set::rectangularity< P >

Compute the rectangularity of a site set.

Definition at line 51 of file rectangularity.hh.

Constructor & Destructor Documentation

template<typename P >
mln::accu::site_set::rectangularity< P >::rectangularity ( )
inline

Constructor.

Definition at line 91 of file rectangularity.hh.

Member Function Documentation

template<typename P >
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.

template<typename P >
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.

template<typename E >
template<typename T >
void 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().

template<typename E >
template<typename T >
void 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().

template<typename P >
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.