![]() |
deal.II version 9.7.0
|
#include <deal.II/numerics/rtree.h>
A class that may be used as an IndexableGetter template argument for an RTree that stores indices to entries in a Container type.
This class may be used as a proxy to extract an indexable type from compatible containers. For example:
This class is used by the pack_rtree_of_indices() function to construct an RTree where the leaves are indices pointing to the entries of the container passed to this class.
Public Types | |
| using | IndexableGetter |
| using | result_type = typename IndexableGetter::result_type |
| using | size_t = typename Container::size_type |
Public Member Functions | |
| IndexableGetterFromIndices (const Container &c) | |
| result_type | operator() (size_t i) const |
Private Attributes | |
| const Container & | container |
| IndexableGetter | getter |
| using IndexableGetterFromIndices< Container >::IndexableGetter |
An alias for the boost type that is used to extract a Point, Segment, or BoundingBox from compatible types (pairs, tuples, etc.).
| using IndexableGetterFromIndices< Container >::result_type = typename IndexableGetter::result_type |
| using IndexableGetterFromIndices< Container >::size_t = typename Container::size_type |
|
inlineexplicit |
|
inline |
Implements the IndexableGetter requirements of the rtree class.
|
private |
|
private |