MorphoGraphX
|
Public Types | |
typedef Vector< N, T > | Point |
typedef std::numeric_limits< T > | limits |
Public Member Functions | |
CU_HOST_DEVICE | BoundingBox (const Point &vmin, const Point &vmax) |
CU_HOST_DEVICE | BoundingBox (const BoundingBox ©) |
CU_HOST_DEVICE | BoundingBox (const Point &p) |
CU_HOST_DEVICE void | reset () |
CU_HOST_DEVICE bool | empty () const |
CU_HOST_DEVICE | operator bool () const |
CU_HOST_DEVICE bool | operator== (const BoundingBox &other) const |
CU_HOST_DEVICE bool | operator!= (const BoundingBox &other) const |
CU_HOST_DEVICE Point | size () const |
CU_HOST_DEVICE BoundingBox & | operator&= (const BoundingBox &other) |
Bounding box intersection. | |
CU_HOST_DEVICE BoundingBox | operator& (const BoundingBox &other) const |
CU_HOST_DEVICE BoundingBox & | operator*= (const BoundingBox &other) |
CU_HOST_DEVICE BoundingBox | operator* (const BoundingBox &other) const |
CU_HOST_DEVICE BoundingBox & | operator|= (const BoundingBox &other) |
Bounding box union. | |
CU_HOST_DEVICE BoundingBox | operator| (const BoundingBox &other) const |
CU_HOST_DEVICE BoundingBox & | operator+= (const BoundingBox &other) |
CU_HOST_DEVICE BoundingBox | operator+ (const BoundingBox &other) const |
CU_HOST_DEVICE BoundingBox & | operator|= (const Point &p) |
Adding a point. | |
CU_HOST_DEVICE BoundingBox | operator| (const Point &p) const |
CU_HOST_DEVICE const Point & | operator[] (int i) const |
CU_HOST_DEVICE Point & | operator[] (int i) |
CU_HOST_DEVICE bool | contains (const Point &p) const |
Check if a point is in the BoundingBox. | |
CU_HOST_DEVICE Point * | data () |
CU_HOST_DEVICE Point | pmin () |
CU_HOST_DEVICE Point | pmin () const |
CU_HOST_DEVICE Point | pmax () |
CU_HOST_DEVICE Point | pmax () const |
Public Attributes | |
Point | pts [2] |
Friends | |
CU_HOST_DEVICE friend BoundingBox | operator& (const Point &p, const BoundingBox &b) |
CU_HOST_DEVICE friend std::ostream & | operator<< (std::ostream &s, const BoundingBox &bbox) |
CU_HOST_DEVICE friend std::istream & | operator>> (std::istream &s, BoundingBox &bbox) |
QTextStream & | operator<< (QTextStream &s, const BoundingBox &bbox) |
QTextStream & | operator>> (QTextStream &s, BoundingBox &bbox) |