$extrastylesheet
#include <mln/accu/shape/bbox.hh>
Public Member Functions | |
bbox () | |
bool | is_valid () const |
const box< P > & | subj_ () |
void | take_as_init (const T &t) |
void | take_as_init_ (const T &t) |
void | take_n_times (unsigned n, const T &t) |
void | take_n_times_ (unsigned n, const T &t) |
const box< P > & | to_result () const |
void | init () |
void | take_as_init_ (const P &p) |
void | take (const P &p) |
void | take (const bbox< P > &other) |
void | take (const box< P > &b) |
Protected Attributes | |
box< P > | b_ |
bool | is_valid_ |
Public Types | |
typedef P | argument |
typedef Accumulator< void > | category |
typedef bbox< P > | exact_t |
typedef const box< P > & | q_result |
typedef mln::metal::unqualif < const box< P > & >::ret | result |
Generic bounding box accumulator class.
The parameter P
is the type of points.
Definition at line 55 of file accu/shape/bbox.hh.
mln::accu::shape::bbox< P >::bbox | ( | ) |
void mln::accu::shape::bbox< P >::init | ( | ) |
Manipulators.
bool mln::accu::shape::bbox< P >::is_valid | ( | ) | const |
Check whether this accu is able to return a result.
Always true here.
|
inherited |
void mln::accu::shape::bbox< P >::take | ( | const P & | p | ) |
void mln::accu::shape::bbox< P >::take | ( | const bbox< P > & | other | ) |
void mln::accu::shape::bbox< P >::take | ( | const box< P > & | b | ) |
|
inherited |
Take as initialization the value t
.
void mln::accu::shape::bbox< P >::take_as_init_ | ( | const P & | p | ) |
|
inherited |
INTERNAL_API
Default implementation of "take as initialization".
|
inherited |
Take n
times the value t
.
|
inherited |
INTERNAL_API
Default implementation of "take n times".
const box<P>& mln::accu::shape::bbox< P >::to_result | ( | ) | const |
Get the value of the accumulator.
|
protected |
Definition at line 80 of file accu/shape/bbox.hh.
|
protected |
Definition at line 79 of file accu/shape/bbox.hh.
typedef P mln::accu::shape::bbox< P >::argument |
Definition at line 57 of file accu/shape/bbox.hh.
|
inherited |
Definition at line 64 of file accumulator.hh.
|
inherited |
|
inherited |