OpenVDB  11.0.0
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
BaseBBox< Vec3T > Struct Template Reference

#include <nanovdb/NanoVDB.h>

Inherited by BBox< Vec3T, true >.

Public Member Functions

bool operator== (const BaseBBox &rhs) const
 
bool operator!= (const BaseBBox &rhs) const
 
const Vec3T & operator[] (int i) const
 
Vec3T & operator[] (int i)
 
Vec3T & min ()
 
Vec3T & max ()
 
const Vec3T & min () const
 
const Vec3T & max () const
 
BaseBBoxtranslate (const Vec3T &xyz)
 
BaseBBoxexpand (const Vec3T &xyz)
 Expand this bounding box to enclose point xyz. More...
 
BaseBBoxexpand (const BaseBBox &bbox)
 Expand this bounding box to enclose the given bounding box. More...
 
BaseBBoxintersect (const BaseBBox &bbox)
 Intersect this bounding box with the given bounding box. More...
 
bool isInside (const Vec3T &xyz)
 

Public Attributes

Vec3T mCoord [2]
 

Protected Member Functions

 BaseBBox ()
 
 BaseBBox (const Vec3T &min, const Vec3T &max)
 

Constructor & Destructor Documentation

BaseBBox ( )
inlineprotected
BaseBBox ( const Vec3T &  min,
const Vec3T &  max 
)
inlineprotected

Member Function Documentation

BaseBBox& expand ( const Vec3T &  xyz)
inline

Expand this bounding box to enclose point xyz.

BaseBBox& expand ( const BaseBBox< Vec3T > &  bbox)
inline

Expand this bounding box to enclose the given bounding box.

BaseBBox& intersect ( const BaseBBox< Vec3T > &  bbox)
inline

Intersect this bounding box with the given bounding box.

bool isInside ( const Vec3T &  xyz)
inline
Vec3T& max ( )
inline
const Vec3T& max ( ) const
inline
Vec3T& min ( )
inline
const Vec3T& min ( ) const
inline
bool operator!= ( const BaseBBox< Vec3T > &  rhs) const
inline
bool operator== ( const BaseBBox< Vec3T > &  rhs) const
inline
const Vec3T& operator[] ( int  i) const
inline
Vec3T& operator[] ( int  i)
inline
BaseBBox& translate ( const Vec3T &  xyz)
inline

Member Data Documentation

Vec3T mCoord[2]