|
SLIP
1.4
|
Define an abstract Box structure. More...
#include <Box.hpp>

Public Types | |
| typedef CoordType | value_type |
| typedef value_type * | boxer |
| typedef const value_type * | const_boxer |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
| typedef Point< CoordType, DIM > | point_type |
| typedef DPoint< CoordType, DIM > | dpoint_type |
| typedef Box< CoordType, DIM > | self |
Public Member Functions | |
| std::string | name () const |
| Returns the name of the class. More... | |
| bool | contains (const point_type &p) const |
| Returns true if the box contains the point p. More... | |
| void | translate (const dpoint_type &dp) |
| Translate the window along the deplacement dp the dimensions of the window are conserved. More... | |
| bool | is_consistent () const |
| verify if the window is consistent, that is to say if the first point p1 has the smaller coordinates than p2 More... | |
| void | swap (self &other) |
| Swaps two Box. More... | |
Constructors & Destructors | |
| Box () | |
| Default constructor (protected to avoid default construction) More... | |
| Box (const self &other) | |
| Constructs a copy of the Box rhs. More... | |
| Box (const point_type &p1, const point_type &p2) | |
| Constructs a Box from a CoordType array. More... | |
Assignment operators and methods | |
| self & | operator= (const self &other) |
| Assign a Box. More... | |
Comparison operators | |
| bool | operator== (const self &other) const |
| compare two Box. More... | |
| bool | operator!= (const self &other) const |
| compare two Box. More... | |
Protected Member Functions | |
| template<class Archive > | |
| void | save (Archive &ar, const unsigned int version) const |
| template<class Archive > | |
| void | load (Archive &ar, const unsigned int version) |
Protected Attributes | |
| point_type | p1_ |
| point_type | p2_ |
Friends | |
| class | boost::serialization::access |
i/o operators | |
| std::ostream & | operator<< (std::ostream &out, const self &b) |
| Write the Box to the ouput stream. More... | |
Define an abstract Box structure.
| typedef value_type* slip::Box< CoordType, DIM >::boxer |
| typedef const value_type* slip::Box< CoordType, DIM >::const_boxer |
| typedef const value_type& slip::Box< CoordType, DIM >::const_reference |
| typedef DPoint<CoordType,DIM> slip::Box< CoordType, DIM >::dpoint_type |
| typedef Point<CoordType,DIM> slip::Box< CoordType, DIM >::point_type |
| typedef value_type& slip::Box< CoordType, DIM >::reference |
| typedef CoordType slip::Box< CoordType, DIM >::value_type |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inlineprotected |
|
inline |
|
friend |
|
friend |
|
protected |
|
protected |
1.8.6