Generic bounding box accumulator class. More...
#include <bbox.hh>
Inherits base< const box< P > &, bbox< P > >.
Public Member Functions | |
bool | is_valid () const |
Check whether this accu is able to return a result. | |
void | take_as_init (const T &t) |
Take as initialization the value t . | |
void | take_n_times (unsigned n, const T &t) |
Take n times the value t . | |
const box< P > & | to_result () const |
Get the value of the accumulator. | |
void | init () |
Manipulators. |
Generic bounding box accumulator class.
The parameter P
is the type of points.
Definition at line 55 of file accu/shape/bbox.hh.
void mln::accu::shape::bbox< P >::init | ( | ) | [inline] |
Manipulators.
Definition at line 124 of file accu/shape/bbox.hh.
bool mln::accu::shape::bbox< P >::is_valid | ( | ) | const [inline] |
Check whether this accu is able to return a result.
Always true here.
Definition at line 224 of file accu/shape/bbox.hh.
void mln::Accumulator< bbox< P > >::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 '_').
void mln::Accumulator< bbox< P > >::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 '_').
const box< P > & mln::accu::shape::bbox< P >::to_result | ( | ) | const [inline] |
Get the value of the accumulator.
Definition at line 215 of file accu/shape/bbox.hh.
Referenced by mln::geom::rotate().