deal.II version GIT relicensing-2289-g1e5549a87a 2024-12-21 21:30:00+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\}}\)
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ArborXWrappers::PointIntersectPredicate Class Reference

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

Inheritance diagram for ArborXWrappers::PointIntersectPredicate:
Inheritance graph
[legend]

Public Member Functions

template<int dim, typename Number >
 PointIntersectPredicate (const std::vector<::Point< dim, Number > > &points)
 
const ::Point< 3, float > & get (unsigned int i) const
 
std::size_t size () const
 

Private Attributes

std::vector<::Point< 3, float > > points
 

Detailed Description

This class defines a predicate used by ArborXWrappers::BVH to determine for given points 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 69 of file access_traits.h.

Constructor & Destructor Documentation

◆ PointIntersectPredicate()

template<int dim, typename Number >
ArborXWrappers::PointIntersectPredicate::PointIntersectPredicate ( const std::vector<::Point< dim, Number > > &  points)

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

Definition at line 69 of file access_traits.cc.

Member Function Documentation

◆ get()

const ::Point< 3, float > & ArborXWrappers::PointPredicate::get ( unsigned int  i) const

Return the ith Point stored in the object.

Definition at line 55 of file access_traits.cc.

◆ size()

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

The number of points stored in the structure.

Definition at line 49 of file access_traits.cc.

Member Data Documentation

◆ points

std::vector<::Point<3, float> > ArborXWrappers::PointPredicate::points
privateinherited

Definition at line 58 of file access_traits.h.


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