AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
compute_bounding_box.hpp File Reference

Consists of functions to create bounding boxes. More...

Namespaces

 axom
 
 axom::primal
 

Functions

template<typename T , int NDIMS>
OrientedBoundingBox< T, NDIMS > axom::primal::merge_boxes (const OrientedBoundingBox< T, NDIMS > &l, const OrientedBoundingBox< T, NDIMS > &r)
 Creates an oriented bounding box which contains the passed in OBBs. More...
 
template<typename T , int NDIMS>
BoundingBox< T, NDIMS > axom::primal::merge_boxes (const BoundingBox< T, NDIMS > &l, const BoundingBox< T, NDIMS > &r)
 Constructor. Creates a bounding box which contains the passed in bounding boxes. More...
 
template<typename T , int NDIMS>
AXOM_HOST_DEVICE BoundingBox< T, NDIMS > axom::primal::compute_bounding_box (const Triangle< T, NDIMS > &tri)
 Creates a bounding box around a Triangle. More...
 
template<typename T , int NDIMS>
AXOM_HOST_DEVICE BoundingBox< T, NDIMS > axom::primal::compute_bounding_box (const Quadrilateral< T, NDIMS > &quad)
 Creates a bounding box around a Quadrilateral. More...
 
template<typename T , int NDIMS>
AXOM_HOST_DEVICE BoundingBox< T, NDIMS > axom::primal::compute_bounding_box (const Octahedron< T, NDIMS > &oct)
 Creates a bounding box around an Octahedron. More...
 
template<typename T , int NDIMS>
AXOM_HOST_DEVICE BoundingBox< T, NDIMS > axom::primal::compute_bounding_box (const Hexahedron< T, NDIMS > &hex)
 Creates a bounding box around a Hexahedron. More...
 
template<typename T , int NDIMS>
AXOM_HOST_DEVICE BoundingBox< T, NDIMS > axom::primal::compute_bounding_box (const Polyhedron< T, NDIMS > &poly)
 Creates a bounding box around a Polyhedron. More...
 
template<typename T , int NDIMS>
AXOM_HOST_DEVICE BoundingBox< T, NDIMS > axom::primal::compute_bounding_box (const Tetrahedron< T, NDIMS > &tet)
 Creates a bounding box around a Tetrahedron. More...
 
template<typename T , int NDIMS, PolygonArray ARRAY_TYPE = PolygonArray::Dynamic, int MAX_VERTS = DEFAULT_MAX_NUM_VERTICES>
AXOM_HOST_DEVICE BoundingBox< T, NDIMS > axom::primal::compute_bounding_box (const Polygon< T, NDIMS, ARRAY_TYPE, MAX_VERTS > &poly)
 Creates a bounding box around a Polygon. More...
 
Forward Declared Overloaded Operators
template<typename T , int NDIMS>
OrientedBoundingBox< T, NDIMS > axom::primal::compute_oriented_bounding_box (const Point< T, NDIMS > *pts, int n)
 Creates a bounding box which contains the collection of passed in points. More...
 

Detailed Description

Consists of functions to create bounding boxes.