neuray API Programmer's Manual

mi::math::Bbox_struct< T, DIM> Template Struct Reference

[Bounding Box Class]

template< typename T, Size DIM>

mi::math::Bbox_struct< T, DIM>

Description

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.

Public Variables

 max
Elementwise maximal bounding box corner.
 min
Elementwise minimal bounding box corner.

Variables

mi::math::Bbox_struct< T, DIM>::max

Elementwise maximal bounding box corner.

mi::math::Bbox_struct< T, DIM>::min

Elementwise minimal bounding box corner.