EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
EBGeometry_BoundingVolumes.hpp File Reference

Declarations of bounding volume types used in bounding volume hierarchies. More...

#include <ostream>
#include <type_traits>
#include <vector>
#include "EBGeometry_Macros.hpp"
#include "EBGeometry_Vec.hpp"
#include "EBGeometry_BoundingVolumesImplem.hpp"
Include dependency graph for EBGeometry_BoundingVolumes.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  EBGeometry::BoundingVolumes::SphereT< T >
 Bounding sphere — an approximation to the smallest sphere enclosing a set of 3D points. More...
 
class  EBGeometry::BoundingVolumes::AABBT< T >
 Axis-aligned bounding box (AABB) enclosing a set of 3D points. More...
 

Namespaces

namespace  EBGeometry
 Namespace containing all of EBGeometry's functionality.
 
namespace  EBGeometry::BoundingVolumes
 Namespace encapsulating bounding volume types for use with bounding volume hierarchies.
 

Functions

template<class T >
bool EBGeometry::BoundingVolumes::intersects (const SphereT< T > &a_u, const SphereT< T > &a_v) noexcept
 Test whether two bounding spheres overlap.
 
template<class T >
bool EBGeometry::BoundingVolumes::intersects (const AABBT< T > &a_u, const AABBT< T > &a_v) noexcept
 Test whether two axis-aligned bounding boxes overlap.
 
template<class T >
EBGeometry::BoundingVolumes::getOverlappingVolume (const SphereT< T > &a_u, const SphereT< T > &a_v) noexcept
 Compute the overlapping volume between two bounding spheres.
 
template<class T >
EBGeometry::BoundingVolumes::getOverlappingVolume (const AABBT< T > &a_u, const AABBT< T > &a_v) noexcept
 Compute the overlapping volume between two axis-aligned bounding boxes.
 

Detailed Description

Declarations of bounding volume types used in bounding volume hierarchies.

Author
Robert Marskar