EBGeometry
1.0
|
Namespace for encapsulating various bounding volumes for usage with BVHs. More...
Classes | |
class | BoundingSphereT |
Class which encloses a set of points using a bounding sphere. More... | |
class | AABBT |
Axis-aligned bounding box as bounding volume. More... | |
Functions | |
template<class T > | |
bool | intersects (const BoundingSphereT< T > &a_u, const BoundingSphereT< T > &a_v) noexcept |
Intersection method for testing if two bounding spheres overlap. More... | |
template<class T > | |
bool | intersects (const AABBT< T > &a_u, const AABBT< T > &a_v) noexcept |
Intersection method for testing if two bounding boxes overlap. More... | |
template<class T > | |
T | getOverlappingVolume (const BoundingSphereT< T > &a_u, const BoundingSphereT< T > &a_v) noexcept |
Compute the overlapping volume between two bounding spheres. More... | |
template<class T > | |
T | getOverlappingVolume (const AABBT< T > &a_u, const AABBT< T > &a_v) noexcept |
Compute the overlapping volume between two bounding boxes. More... | |
Namespace for encapsulating various bounding volumes for usage with BVHs.
|
noexcept |
Compute the overlapping volume between two bounding boxes.
[in] | a_u | One bounding box |
[in] | a_v | The other bounding box |
|
noexcept |
Compute the overlapping volume between two bounding spheres.
[in] | a_u | One bounding sphere |
[in] | a_v | The other bounding sphere |
|
noexcept |
Intersection method for testing if two bounding boxes overlap.
[in] | a_u | One bounding box |
[in] | a_v | The other bounding box |
|
noexcept |
Intersection method for testing if two bounding spheres overlap.
[in] | a_u | One bounding sphere |
[in] | a_v | The other bounding sphere |