$extrastylesheet
#include <mln/core/concept/box.hh>
Public Member Functions | |
const E & | bbox () const |
bool | is_empty () const |
unsigned | len (unsigned i) const |
unsigned | nsites () const |
Protected Member Functions | |
Box () |
Public Types | |
typedef Site_Set< void > | category |
typedef E | exact_t |
typedef const E & | q_box |
Related Functions | |
(Note that these are not member functions.) | |
template<typename Sl , typename Sr > | |
p_set< typename Sl::site > | diff (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
template<typename Sl , typename Sr > | |
p_set< typename Sl::site > | inter (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
template<typename Sl , typename Sr > | |
bool | operator< (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
template<typename Bl , typename Br > | |
bool | operator< (const Box< Bl > &lhs, const Box< Br > &rhs) |
template<typename S > | |
std::ostream & | operator<< (std::ostream &ostr, const Site_Set< S > &set) |
template<typename Sl , typename Sr > | |
bool | operator<= (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
template<typename Bl , typename Br > | |
bool | operator<= (const Box< Bl > &lhs, const Box< Br > &rhs) |
template<typename Sl , typename Sr > | |
bool | operator== (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
template<typename Sl , typename Sr > | |
p_set< typename Sl::site > | sym_diff (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
template<typename Sl , typename Sr > | |
p_set< typename Sl::site > | uni (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
template<typename S > | |
p_set< typename S::site > | unique (const Site_Set< S > &s) |
Base class for implementation classes of boxes.
Boxes are particular site sets useful to bound any set of sites defined on a regular grid.
Definition at line 48 of file core/concept/box.hh.
const E& mln::Box< E >::bbox | ( | ) | const |
Give the bounding box of this site set.
Return the bounding box of this site set, so that is itself. This method is declared by the mln::Site_Set concept.
Give the length of the i-th
side of the box.
Give the number of sites of this box.
Return the number of sites of this box. This method is declared by the mln::Site_Set concept.
|
related |
Set theoretic difference of lhs
and rhs
.
|
related |
Intersection between a couple of point sets.
|
related |
Strict inclusion test between site sets lhs
and rhs
.
[in] | lhs | A site set (strictly included?). |
[in] | rhs | Another site set (includer?). |
|
related |
Strict inclusion test between boxes lhs
and rhs
.
[in] | lhs | A box (strictly included?). |
[in] | rhs | Another box (includor?). |
|
related |
Print a site set set
into the output stream ostr
.
[in,out] | ostr | An output stream. |
[in] | set | A site set. |
ostr
.
|
related |
Inclusion test between site sets lhs
and rhs
.
[in] | lhs | A site set (included?). |
[in] | rhs | Another site set (includer?). |
|
related |
Inclusion test between boxes lhs
and rhs
.
[in] | lhs | A box (included?). |
[in] | rhs | Another box (includor?). |
|
related |
Equality test between site sets lhs
and rhs
.
[in] | lhs | A site set. |
[in] | rhs | Another site set. |
|
related |
Set theoretic symmetrical difference of lhs
and rhs
.
|
related |
Union of a couple of point sets.
Give the unique set of s
.
|
inherited |
Definition at line 74 of file core/concept/site_set.hh.
|
inherited |
Definition at line 64 of file core/concept/box.hh.