NVIDIA Iray: Math API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::math::Bbox_struct< T, DIM > Struct Template Reference

Storage class for an axis-aligned N-dimensional bounding box class template of fixed dimension. More...

Public Attributes

Vector_struct< T, DIM > min
 Elementwise minimal bounding box corner. More...
 
Vector_struct< T, DIM > max
 Elementwise maximal bounding box corner. More...
 

Detailed Description

template<typename T, Size DIM>
struct mi::math::Bbox_struct< T, DIM >

Storage class for an axis-aligned N-dimensional bounding box class template of fixed dimension.

Use the mi::math::Bbox template in your programs and this storage class only if you need a POD type, for example for parameter passing.

A bounding box is represented by two mi::math::Vector_struct vectors representing the elementwise minimal box corner, min, and the elementwise largest box corner, max.

Member Data Documentation

template<typename T, Size DIM>
Vector_struct<T,DIM> mi::math::Bbox_struct< T, DIM >::max

Elementwise maximal bounding box corner.

template<typename T, Size DIM>
Vector_struct<T,DIM> mi::math::Bbox_struct< T, DIM >::min

Elementwise minimal bounding box corner.