|
enum | { dims = T::dims
} |
|
typedef T | vec_t |
|
typedef T::scalar_t | scalar_t |
|
|
__both__ | box_t (const vec_t &v) |
|
__both__ | box_t (const vec_t &lo, const vec_t &hi) |
|
__both__ box_t | including (const vec_t &other) const |
|
__both__ box_t | including (const box_t &other) const |
|
__both__ box_t & | extend (const vec_t &other) |
|
__both__ box_t & | extend (const box_t &other) |
|
__both__ interval< scalar_t > | get_slab (const uint32_t dim) |
|
__both__ bool | contains (const vec_t &point) const |
|
__both__ bool | overlaps (const box_t &other) const |
|
__both__ vec_t | center () const |
|
__both__ vec_t | span () const |
|
__both__ vec_t | size () const |
|
__both__ long_type_of< typenameT::scalar_t >::type | volume () const |
|
__both__ bool | empty () const |
|
◆ box_t() [1/2]
construct a new, origin-oriented box of given size / explicit inline both box_t(const vec_t &box_size) : lower(vec_t(0)), upper(box_size) {} /! construct a new box around a single point
◆ box_t() [2/2]
construct a new, origin-oriented box of given size
◆ extend() [1/2]
returns new box including both ourselves and the given point
◆ extend() [2/2]
returns new box including both ourselves and the given point
◆ get_slab()
get the d-th dimensional slab (lo[dim]..hi[dim]
◆ including() [1/2]
returns new box including both ourselves and the given point
◆ including() [2/2]
returns new box including both ourselves and the given point
The documentation for this struct was generated from the following file:
- owl/include/owl/common/math/box.h