#include <geomapinv.hpp>
handles the geometric inversion for a given (supposedly quite large) set of points
Public Types | |
Typedefs | |
typedef GeoMap< Dim, Order, RealDim, T, Entity > | gm_type |
typedef gm_type::Inverse | gic_type |
typedef T | value_type |
Public Member Functions | |
Constructors, destructor | |
GeoMapInverse (value_type eps=1e-12) | |
GeoMapInverse (GeoMapInverse const &gmi) | |
virtual | ~GeoMapInverse () |
Methods | |
void | clear (void) |
template<class CONT > | |
void | addPoints (const CONT &c) |
size_type | nPoints (void) const |
size_type | addPoint (typename node< value_type >::type const &p) |
void | addPointWithId (typename node< value_type >::type const &p, size_type id, uint16_type comp) |
void | addPointWithId (boost::tuple< typename node< value_type >::type, size_type, uint16_type > const &p) |
size_type | pointsInBox (KDTree::points_type &ipts, typename node< value_type >::type const &min, typename node< value_type >::type const &max) const |
Protected Attributes | |
value_type | M_eps |
KDTree | M_tree |
|
inline |
Add point p to the list of points.
References Feel::KDTree::addPoint().
|
inline |
Add the points contained in c to the list of points.
References Feel::KDTree::addPointWithId(), and Feel::KDTree::reserve().
|
inline |
add new points in the kd-tree
if lid is equal to invalid_uint16_type_value then it means that it is of no use and will be ignore
References Feel::KDTree::addPointWithId().
|
inline |
add new points in the kd-tree
References Feel::KDTree::addPointWithId().
|
inline |
clear the kd-tree
References Feel::KDTree::clear().
|
inline |
References Feel::KDTree::nPoints().
|
inline |
Find all the points present in the box between min and max.
References Feel::KDTree::pointsInBox().