OpenVDB  10.0.1
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
 
Coordtranslate (const Vec3T &xyz)
 
BaseBBoxexpand (const Vec3T &xyz)
 
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
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
Coord& translate ( const Vec3T &  xyz)
inline

Member Data Documentation

Vec3T mCoord[2]