This is a Box4d class, a specialized version of slip::Box<CoordType,DIM> with DIM = 4.
More...
|
std::string | name () const |
| Returns the name of the class. More...
|
|
CoordType | hypervolume () const |
| compute the hypervolume of the Box4d. More...
|
|
CoordType | duration () const |
| compute the duration of the Box4d (first dimension size). More...
|
|
CoordType | depth () const |
| compute the depth of the Box4d (second dimension size). More...
|
|
CoordType | height () const |
| compute the height of the Box4d (third dimension size). More...
|
|
CoordType | width () const |
| compute the width of the Box4d (fourth dimension size). 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...
|
|
|
| Box4d () |
| Constructs a Box4d. More...
|
|
| Box4d (const slip::Point< CoordType, 4 > &p1, const slip::Point< CoordType, 4 > &p2) |
| Constructs a Box4d from a CoordType array. More...
|
|
| Box4d (const CoordType &x11, const CoordType &x12, const CoordType &x13, const CoordType &x14, const CoordType &x21, const CoordType &x22, const CoordType &x23, const CoordType &x24) |
| Constructs a Box4d. More...
|
|
| Box4d (const CoordType &xc, const CoordType &yc, const CoordType &zc, const CoordType &lc, const CoordType &r) |
| Constructs a square Box4d using a central point and a width. More...
|
|
| Box4d (const slip::Point< CoordType, 4 > &pc, const CoordType &r) |
| Constructs a square Box4d using a central point and a radius. More...
|
|
| Box4d (const slip::Point< CoordType, 4 > &pc, const CoordType &r1, const CoordType &r2, const CoordType &r3, const CoordType &r4) |
| Constructs a square Box4d using a central point and four radius. More...
|
|
|
void | first_front_upper_left (slip::Point< CoordType, 4 >) |
| Accessor/Mutator of the first_front_upper_left point (p1) of Box4d. More...
|
|
slip::Point< CoordType, 4 > & | first_front_upper_left () |
| Accessor/Mutator of the first_front_upper_left point (p1) of Box4d. More...
|
|
const slip::Point< CoordType, 4 > & | first_front_upper_left () const |
| Accessor/Mutator of the first_front_upper_left point (p1) of Box4d. More...
|
|
void | last_back_bottom_right (slip::Point< CoordType, 4 >) |
| Accessor/Mutator of the last_back_bottom_right point (p2) of Box4d. More...
|
|
slip::Point< CoordType, 4 > & | last_back_bottom_right () |
| Accessor/Mutator of the last_back_bottom_right point (p2) of Box4d. More...
|
|
const slip::Point< CoordType, 4 > & | last_back_bottom_right () const |
| Accessor/Mutator of the last_back_bottom_right point (p2) of Box4d. More...
|
|
void | set_coord (const CoordType &x11, const CoordType &x12, const CoordType &x13, const CoordType &x14, const CoordType &x21, const CoordType &x22, const CoordType &x23, const CoordType &x24) |
| Mutator of the coordinates of the Box4d. More...
|
|
|
bool | operator== (const self &other) const |
| compare two Box. More...
|
|
bool | operator!= (const self &other) const |
| compare two Box. More...
|
|
template<typename CoordType>
class slip::Box4d< CoordType >
This is a Box4d class, a specialized version of slip::Box<CoordType,DIM> with DIM = 4.
- Version
- Fluex 1.0
- Date
- 2013/07/01
- Since
- 1.4.0
- Author
- Denis Arrivault <denis.arrivault_AT_inria.fr>
- Description:
- The box is defined by its first-front-upper-left and last-back-bottom-right points p1 and p2.
Box4d conventions
- Parameters
-
CoordType | Type of the coordinates of the Box4d |
Definition at line 107 of file Box4d.hpp.