Reference documentation for deal.II version 9.6.0
\(\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\}}\)
Loading...
Searching...
No Matches
ArborXWrappers::BoundingBoxIntersectPredicate Class Reference

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

Inheritance diagram for ArborXWrappers::BoundingBoxIntersectPredicate:

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.

Note
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 access_traits.cc.

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 access_traits.cc.

◆ size()

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

The number of bounding boxes stored in the structure.

Definition at line 140 of file access_traits.cc.

Member Data Documentation

◆ bounding_boxes

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

Definition at line 149 of file access_traits.h.


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