Reference documentation for deal.II version 9.4.1
\(\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
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:
[legend]

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 161 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 127 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 147 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 141 of file access_traits.cc.

Member Data Documentation

◆ bounding_boxes

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

Definition at line 150 of file access_traits.h.


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