OpenVDB
11.0.0
|
Partial template specialization for floating point coordinate types. More...
#include <nanovdb/NanoVDB.h>
Inherits BaseBBox< Vec3T >.
Public Types | |
using | Vec3Type = Vec3T |
using | ValueType = typename Vec3T::ValueType |
using | BaseT = BaseBBox< Vec3T > |
Public Member Functions | |
BBox () | |
Default construction sets BBox to an empty bbox. More... | |
BBox (const Vec3T &min, const Vec3T &max) | |
BBox (const Coord &min, const Coord &max) | |
BBox (const BaseBBox< Coord > &bbox) | |
bool | empty () const |
operator bool () const | |
Vec3T | dim () const |
bool | isInside (const Vec3T &p) const |
bool | operator== (const BaseBBox &rhs) const |
bool | operator!= (const BaseBBox &rhs) const |
const Vec3T & | operator[] (int i) const |
Vec3T & | operator[] (int i) |
Vec3T & | min () |
const Vec3T & | min () const |
Vec3T & | max () |
const Vec3T & | max () const |
BaseBBox & | translate (const Vec3T &xyz) |
BaseBBox & | expand (const Vec3T &xyz) |
Expand this bounding box to enclose point xyz . More... | |
BaseBBox & | expand (const BaseBBox &bbox) |
Expand this bounding box to enclose the given bounding box. More... | |
BaseBBox & | intersect (const BaseBBox &bbox) |
Intersect this bounding box with the given bounding box. More... | |
bool | isInside (const Vec3T &xyz) |
Static Public Member Functions | |
static BBox | createCube (const Coord &min, typename Coord::ValueType dim) |
Public Attributes | |
Vec3T | mCoord [2] |
Partial template specialization for floating point coordinate types.
using ValueType = typename Vec3T::ValueType |
using Vec3Type = Vec3T |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inlineinherited |
Expand this bounding box to enclose point xyz
.
Expand this bounding box to enclose the given bounding box.
Intersect this bounding box with the given bounding box.
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |