#include <PointListAdaptor.h>
Public Types | |
using | Iterator = typename std::vector< PointObject >::const_iterator |
using | coord_t = Real |
libMesh Point coordinate type More... | |
Public Member Functions | |
PointListAdaptor (Iterator begin, Iterator end) | |
size_t | kdtree_get_point_count () const |
Must return the number of data points. More... | |
const Point & | getPoint (const PointObject &item) const |
get a Point reference from the PointData object at index idx in the list More... | |
coord_t | kdtree_distance (const coord_t *p1, const size_t idx_p2, size_t) const |
Returns the distance between the vector "p1[0:size-1]" and the data point with index "idx_p2" stored in the class. More... | |
coord_t | kdtree_get_pt (const size_t idx, int dim) const |
Returns the dim'th component of the idx'th point in the class. More... | |
template<class BBOX > | |
bool | kdtree_get_bbox (BBOX &) const |
Optional bounding-box computation. More... | |
template<> | |
const Point & | getPoint (const MooseMesh::PeriodicNodeInfo &item) const |
template<> | |
const Point & | getPoint (const RadialAverage::QPData &item) const |
Private Attributes | |
const Iterator | _begin |
begin iterator of the underlying point type vector More... | |
const Iterator | _end |
end iterator of the underlying point type vector More... | |
std::size_t | _size |
number of elements pointed to More... | |
Definition at line 19 of file PointListAdaptor.h.
using PointListAdaptor< PointObject >::coord_t = Real |
libMesh Point
coordinate type
Definition at line 43 of file PointListAdaptor.h.
using PointListAdaptor< PointObject >::Iterator = typename std::vector<PointObject>::const_iterator |
Definition at line 22 of file PointListAdaptor.h.
|
inline |
Definition at line 24 of file PointListAdaptor.h.
const Point & PointListAdaptor< RadialAverage::QPData >::getPoint | ( | const RadialAverage::QPData & | item | ) | const |
Definition at line 39 of file RadialAverage.C.
const Point& PointListAdaptor< PointObject >::getPoint | ( | const PointObject & | item | ) | const |
get a Point reference from the PointData object at index idx in the list
Referenced by PointListAdaptor< Point >::kdtree_distance(), and PointListAdaptor< Point >::kdtree_get_pt().
|
inline |
Definition at line 1801 of file MooseMesh.C.
|
inline |
Returns the distance between the vector "p1[0:size-1]" and the data point with index "idx_p2" stored in the class.
Definition at line 59 of file PointListAdaptor.h.
|
inline |
Optional bounding-box computation.
This function is called by the nanoflann library. If the return value is false, the standard bbox computation loop in the nanoflann library is activated.
Definition at line 103 of file PointListAdaptor.h.
|
inline |
Must return the number of data points.
Definition at line 48 of file PointListAdaptor.h.
Referenced by KDTree::numberCandidatePoints().
|
inline |
Returns the dim'th component of the idx'th point in the class.
Definition at line 81 of file PointListAdaptor.h.
|
private |
begin iterator of the underlying point type vector
Definition at line 31 of file PointListAdaptor.h.
Referenced by PointListAdaptor< Point >::kdtree_distance(), and PointListAdaptor< Point >::kdtree_get_pt().
|
private |
end iterator of the underlying point type vector
Definition at line 34 of file PointListAdaptor.h.
|
private |
number of elements pointed to
Definition at line 37 of file PointListAdaptor.h.
Referenced by PointListAdaptor< Point >::kdtree_distance(), PointListAdaptor< Point >::kdtree_get_point_count(), and PointListAdaptor< Point >::kdtree_get_pt().