|
trase
|
Contains the minimum and maximum extents of a hypercube in D dimensional space.
More...
#include <BBox.hpp>
Public Types | |
| using | vector_t = Vector< T, N > |
Public Member Functions | |
| bbox (const vector_t &p) | |
| bbox (const vector_t &min, const vector_t &max) | |
| vector_t | delta () const |
| const vector_t & | min () const |
| const vector_t & | max () const |
| bbox & | operator+= (const bbox &arg) |
| bbox | operator+ (const bbox &arg) |
| bbox & | operator+= (const vector_t &arg) |
| bbox | operator+ (const vector_t &arg) |
| bbox & | operator*= (const vector_t &arg) |
| bbox | operator* (const vector_t &arg) const |
| bool | operator< (const bbox &arg) |
| bool | operator<= (const bbox &arg) |
| bool | is_empty () |
| vector_t | to_coords (const bbox< T, N > &other, vector_t point, bool y_inv=true) const |
| given two bboxes representing the same cube in space, convert from one coordinate system to another More... | |
Public Attributes | |
| vector_t | bmin |
| minimum point in the box (i.e. More... | |
| vector_t | bmax |
| maximum point in the box (i.e. More... | |
Contains the minimum and maximum extents of a hypercube in D dimensional space.
| D | the number of spatial dimensions |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
given two bboxes representing the same cube in space, convert from one coordinate system to another
| other | the other bbox representing a different coordinate system |
| point | the point in this bbox to convert to other's coords |
| y_inv | whether to invert y (e.g. pixel to limits). Default true. |
| vector_t trase::bbox< T, N >::bmax |
maximum point in the box (i.e.
upper right corner for D=2)
| vector_t trase::bbox< T, N >::bmin |
minimum point in the box (i.e.
lower left corner for D=2)