Documentation class for mln::Box. More...
#include <box.hh>
Public Types | |
typedef void | bkd_piter |
Backward Site_Iterator associated type. | |
typedef void | fwd_piter |
Forward Site_Iterator associated type. | |
typedef void | psite |
PSite associated type. | |
typedef void | site |
Site associated type. | |
Public Member Functions | |
const E & | bbox () const |
Return the bounding box of this point set. | |
bool | has (const psite &p) const |
Test if p belongs to this site set. | |
unsigned | nsites () const |
Return the number of points of this box. | |
const site & | pmax () const |
Give the box "maximum" point. | |
const site & | pmin () const |
Give the box "minimum" point. |
Documentation class for mln::Box.
typedef void mln::doc::Site_Set< E >::bkd_piter [inherited] |
Backward Site_Iterator associated type.
typedef void mln::doc::Site_Set< E >::fwd_piter [inherited] |
Forward Site_Iterator associated type.
typedef void mln::doc::Site_Set< E >::psite [inherited] |
PSite associated type.
typedef void mln::doc::Site_Set< E >::site [inherited] |
Site associated type.
const E& mln::doc::Box< E >::bbox | ( | ) | const |
Return the bounding box of this point set.
Return the bounding box of this point set, so that is itself. This method is declared by the mln::Site_Set concept.
bool mln::doc::Site_Set< E >::has | ( | const psite & | p | ) | const [inherited] |
Test if p
belongs to this site set.
[in] | p | A psite. |
p
is an element of the site set. unsigned mln::doc::Box< E >::nsites | ( | ) | const |
Return the number of points of this box.
Return the number of points of this box. This method is declared by the mln::Site_Set concept.
const site& mln::doc::Box< E >::pmax | ( | ) | const |
Give the box "maximum" point.
Return the "maximum" point w.r.t. the ordering between points. For instance, with mln::box2d, this maximum is the bottom right point of the box.
const site& mln::doc::Box< E >::pmin | ( | ) | const |
Give the box "minimum" point.
Return the "minimum" point w.r.t. the ordering between points. For instance, with mln::box2d, this minimum is the top left point of the box.