mln::doc::Box< E > Struct Template Reference

Documentation class for mln::Box. More...

#include <box.hh>

Inheritance diagram for mln::doc::Box< E >:

Inheritance graph

List of all members.

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 sitepmax () const
 Give the box "maximum" point.
const sitepmin () const
 Give the box "minimum" point.


Detailed Description

template<typename E>
struct mln::doc::Box< E >

Documentation class for mln::Box.

See also:
mln::Box

Member Typedef Documentation

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.


Member Function Documentation

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

Warning:
This method is final for all box classes.

bool mln::doc::Site_Set< E >::has ( const psite &  p  )  const [inherited]

Test if p belongs to this site set.

Parameters:
[in] p A psite.
Returns:
True if p is an element of the site set.

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

Warning:
This method is final for all box classes.

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

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


Generated on Tue Jul 14 16:32:53 2009 for Milena (Olena) by  doxygen 1.5.9