#include <meshfree_interpolation.h>
Public Types | |
typedef Real | coord_t |
Public Member Functions | |
PointListAdaptor (const std::vector< Point > &pts) | |
size_t | kdtree_get_point_count () const |
coord_t | kdtree_distance (const coord_t *p1, const size_t idx_p2, size_t size) const |
coord_t | kdtree_get_pt (const size_t idx, int dim) const |
template<class BBOX > | |
bool | kdtree_get_bbox (BBOX &) const |
Private Attributes | |
const std::vector< Point > & | _pts |
This class adapts list of libMesh Point
types for use in a nanoflann KD-Tree. For more on the basic idea see examples/pointcloud_adaptor_example.cpp in the nanoflann source tree.
Definition at line 192 of file meshfree_interpolation.h.
typedef Real libMesh::InverseDistanceInterpolation< KDDim >::PointListAdaptor< PLDim >::coord_t |
Definition at line 205 of file meshfree_interpolation.h.
|
inline |
Definition at line 198 of file meshfree_interpolation.h.
|
inline |
Definition at line 216 of file meshfree_interpolation.h.
|
inline |
Optional bounding-box computation.
true
if the BBOX was already computed by the class and returned in bb
so we can avoid redoing it, or false
to default to a standard bbox computation loop.Look at bb.size() to find out the expected dimensionality (e.g. 2 or 3 for point clouds)
Definition at line 285 of file meshfree_interpolation.h.
|
inline |
Must return the number of data points
Definition at line 210 of file meshfree_interpolation.h.
|
inline |
Definition at line 261 of file meshfree_interpolation.h.
|
private |
Definition at line 195 of file meshfree_interpolation.h.
Referenced by libMesh::InverseDistanceInterpolation< KDDim >::PointListAdaptor< KDDim >::kdtree_distance(), libMesh::InverseDistanceInterpolation< KDDim >::PointListAdaptor< KDDim >::kdtree_get_point_count(), and libMesh::InverseDistanceInterpolation< KDDim >::PointListAdaptor< KDDim >::kdtree_get_pt().