|
EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
|
Namespace encapsulating bounding volume types for use with bounding volume hierarchies. More...
Classes | |
| class | AABBT |
| Axis-aligned bounding box (AABB) enclosing a set of 3D points. More... | |
Functions | |
| template<class T > | |
| bool | intersects (const AABBT< T > &a_u, const AABBT< T > &a_v) noexcept |
| Test whether two axis-aligned bounding boxes overlap. | |
| template<class T > | |
| T | getOverlappingVolume (const AABBT< T > &a_u, const AABBT< T > &a_v) noexcept |
| Compute the overlapping volume between two axis-aligned bounding boxes. | |
| template<class T > | |
| std::ostream & | operator<< (std::ostream &a_os, const AABBT< T > &a_aabb) |
| Print a bounding box as (low corner, high corner). | |
Namespace encapsulating bounding volume types for use with bounding volume hierarchies.
|
noexcept |
Compute the overlapping volume between two axis-aligned bounding boxes.
| T | Floating-point precision. |
| [in] | a_u | One bounding box. |
| [in] | a_v | The other bounding box. |
|
noexcept |
Test whether two axis-aligned bounding boxes overlap.
| T | Floating-point precision. |
| [in] | a_u | One bounding box. |
| [in] | a_v | The other bounding box. |
|
inline |
Print a bounding box as (low corner, high corner).
| T | Floating-point precision. |
| [in,out] | a_os | Output stream. |
| [in] | a_aabb | Bounding box to print. |