alternative Standard Libary
0.29.8
|
a clasd for a BoundingBox Mehr ...
#include <boundingbox.hpp>
Öffentliche Typen | |
using | self_type = boundingbox< T > |
using | value_type = T |
using | pointer = T * |
Öffentliche Methoden | |
boundingbox (vector3< T > min, vector3< T > max) | |
create the BoundingBox from max and min type Mehr ... | |
contains_t | contains (const boundingbox< T > &box) |
contain the other box this box Mehr ... | |
contains_t | contains (vector3< T > point) |
cheak of the point contains this class Mehr ... | |
void | getcorners (vector3< T > corners[CornerCount]) |
get the corners of this box Mehr ... | |
bool | Intersects (const boundingbox< T > &box) |
cheak of intersect the other box this box Mehr ... | |
self_type & | operator= (const self_type &v) |
vector3< T > | getmin () |
vector3< T > | getmax () |
virtual std::string | to_string () |
Öffentliche Attribute | |
const int | CornerCount = 8 |
a clasd for a BoundingBox
using std::math::boundingbox< T >::pointer = T* |
using std::math::boundingbox< T >::self_type = boundingbox<T> |
using std::math::boundingbox< T >::value_type = T |
|
inline |
|
inline |
contain the other box this box
box | The other box |
|
inline |
cheak of the point contains this class
point | The to cheaked point |
|
inline |
get the corners of this box
corners | the out array |
|
inline |
|
inline |
|
inline |
cheak of intersect the other box this box
box | The other box |
|
inline |
|
inlinevirtual |
const int std::math::boundingbox< T >::CornerCount = 8 |