NVIDIA IndeX API nvidia_logo_transpbg.gif Up
nv::index::xac::Bounding_box Class Reference

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...
 

Detailed Description

Bounding box data structure.

Constructor & Destructor Documentation

 Bounding_box()

nv::index::xac::Bounding_box::Bounding_box ( const float3 &  in_min,
const float3 &  in_max 
)
inline

Bounding box defined by a min and a max value in 3D.

Member Function Documentation

 get_max()

const float3 & nv::index::xac::Bounding_box::get_max ( ) const

Get the bounding box maximum coordinate.

 get_min()

const float3 & nv::index::xac::Bounding_box::get_min ( ) const

Get the bounding box minimum coordinate.

 is_inside()

bool nv::index::xac::Bounding_box::is_inside ( const float3 &  position) const

Check if a given position is within the bounding box.


The documentation for this class was generated from the following file: