Bounding box data structure. More...
#include <xac_interface_scene_elements_doc.h>
Public Member Functions | |
Bounding_box (const float3 &in_min, const float3 &in_max) | |
Bounding box defined by a min and a max value in 3D. More... | |
const float3 & | get_min () const |
Get the bounding box minimum coordinate. More... | |
const float3 & | get_max () const |
Get the bounding box maximum coordinate. More... | |
bool | is_inside (const float3 &position) const |
Check if a given position is within the bounding box. More... | |
Bounding box data structure.
|
inline |
Bounding box defined by a min and a max value in 3D.
const float3 & nv::index::xac::Bounding_box::get_max | ( | ) | const |
Get the bounding box maximum coordinate.
const float3 & nv::index::xac::Bounding_box::get_min | ( | ) | const |
Get the bounding box minimum coordinate.
bool nv::index::xac::Bounding_box::is_inside | ( | const float3 & | position | ) | const |
Check if a given position is within the bounding box.