Reference documentation for deal.II version GIT relicensing-677-g613a5db665 2024-05-19 13:30:02+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
No Matches
Public Member Functions | Private Attributes | List of all members
ArborXWrappers::BoundingBoxIntersectPredicate Class Reference

#include <deal.II/arborx/access_traits.h>

Inheritance diagram for ArborXWrappers::BoundingBoxIntersectPredicate:
Inheritance graph

Public Member Functions

template<int dim, typename Number >
 BoundingBoxIntersectPredicate (const std::vector<::BoundingBox< dim, Number > > &bounding_boxes)
const ::BoundingBox< 3, float > & get (unsigned int i) const
std::size_t size () const

Private Attributes

std::vector<::BoundingBox< 3, float > > bounding_boxes

Detailed Description

This class is used by ArborXWrappers::BVH to determine for given bounding boxes which of the bounding boxes used to build the ArborXWrappers::BVH intersect with them.

The class is not supposed to be used in a polymorphic context.

Definition at line 160 of file access_traits.h.

Constructor & Destructor Documentation

◆ BoundingBoxIntersectPredicate()

template<int dim, typename Number >
ArborXWrappers::BoundingBoxIntersectPredicate::BoundingBoxIntersectPredicate ( const std::vector<::BoundingBox< dim, Number > > &  bounding_boxes)

Constructor. bounding_boxes is a list of bounding boxes which we are interested in knowing if they intersect ArborXWrappers::BVH bounding boxes.

Definition at line 135 of file

Member Function Documentation

◆ get()

const ::BoundingBox< 3, float > & ArborXWrappers::BoundingBoxPredicate::get ( unsigned int  i) const

Return the ith BoundingBox stored in the object.

Definition at line 146 of file

◆ size()

std::size_t ArborXWrappers::BoundingBoxPredicate::size ( ) const

The number of bounding boxes stored in the structure.

Definition at line 140 of file

Member Data Documentation

◆ bounding_boxes

std::vector<::BoundingBox<3, float> > ArborXWrappers::BoundingBoxPredicate::bounding_boxes

Definition at line 149 of file access_traits.h.

The documentation for this class was generated from the following files: