Partial template specialization for integer coordinate types.
More...
#include <nanovdb/NanoVDB.h>
Inherits BaseBBox< CoordT >.
template<typename CoordT>
struct nanovdb::BBox< CoordT, false >
Partial template specialization for integer coordinate types.
- Note
- Both min and max are INCLUDED in the bbox so dim = max - min + 1. So, if min = max the bounding box contains exactly one point and dim = 1!
BBox |
( |
const CoordT & |
min, |
|
|
const CoordT & |
max |
|
) |
| |
|
inline |
BBox |
( |
BBox< CoordT, false > & |
other, |
|
|
const SplitT & |
|
|
) |
| |
|
inline |
- Warning
- This converts a CoordBBox into a floating-point bounding box which implies that max += 1 !
Return true if this bounding box is empty, i.e. uninitialized.
BBox expandBy |
( |
typename CoordT::ValueType |
padding | ) |
const |
|
inline |
Return a new instance that is expanded by the specified padding.
bool is_divisible |
( |
| ) |
const |
|
inline |
bool isInside |
( |
const CoordT & |
xyz | ) |
|
|
inlineinherited |
bool isInside |
( |
const CoordT & |
p | ) |
const |
|
inline |
bool isInside |
( |
const BBox< CoordT, false > & |
b | ) |
const |
|
inline |
const CoordT & max |
( |
| ) |
const |
|
inlineinherited |
const CoordT & min |
( |
| ) |
const |
|
inlineinherited |
bool operator!= |
( |
const BaseBBox< CoordT > & |
rhs | ) |
const |
|
inlineinherited |
bool operator== |
( |
const BaseBBox< CoordT > & |
rhs | ) |
const |
|
inlineinherited |
const CoordT & operator[] |
( |
int |
i | ) |
const |
|
inlineinherited |
CoordT & operator[] |
( |
int |
i | ) |
|
|
inlineinherited |
Coord& translate |
( |
const CoordT & |
xyz | ) |
|
|
inlineinherited |
uint64_t volume |
( |
| ) |
const |
|
inline |