|
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... | |
| class | SphereT |
| Bounding sphere — an approximation to the smallest sphere enclosing a set of 3D points. More... | |
Functions | |
| template<class T > | |
| bool | intersects (const SphereT< T > &a_u, const SphereT< T > &a_v) noexcept |
| Test whether two bounding spheres overlap. | |
| 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 SphereT< T > &a_u, const SphereT< T > &a_v) noexcept |
| Compute the overlapping volume between two bounding spheres. | |
| 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. | |
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 |
Compute the overlapping volume between two bounding spheres.
| T | Floating-point precision. |
| [in] | a_u | One bounding sphere. |
| [in] | a_v | The other bounding sphere. |
|
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. |
|
noexcept |
Test whether two bounding spheres overlap.
| T | Floating-point precision. |
| [in] | a_u | One bounding sphere. |
| [in] | a_v | The other bounding sphere. |