RINGMesh
Version 5.0.0
A programming library for geological model meshes
|
Public Member Functions | |
Impl (const std::vector< vecn< DIMENSION > > &vertices, bool copy) | |
~Impl () | |
void | fill_nn_search_points (index_t index_in_nn_search, const vecn< DIMENSION > ¢er) |
vecn< DIMENSION > | point (index_t v) const |
index_t | nb_points () const |
std::vector< index_t > | get_neighbors (const vecn< DIMENSION > &v, index_t nb_neighbors) const |
Private Attributes | |
GEO::NearestNeighborSearch_var | nn_tree_ |
KdTree to compute the nearest neighbor search. More... | |
double * | nn_points_ |
Array of the points (size of DIMENSIONxnumber of points) More... | |
bool | delete_points_ |
Indicates if ann_points_ should be deleted. More... | |
Definition at line 52 of file nn_search.cpp.
|
inline |
Definition at line 55 of file nn_search.cpp.
|
inline |
Definition at line 74 of file nn_search.cpp.
|
inline |
Definition at line 82 of file nn_search.cpp.
|
inline |
Definition at line 106 of file nn_search.cpp.
|
inline |
Definition at line 101 of file nn_search.cpp.
|
inline |
Definition at line 91 of file nn_search.cpp.
|
private |
Indicates if ann_points_ should be deleted.
No need to delete nn_points_ if it is a simple pointer to the mesh vertex array.
Definition at line 131 of file nn_search.cpp.
|
private |
Array of the points (size of DIMENSIONxnumber of points)
Definition at line 125 of file nn_search.cpp.
|
private |
KdTree to compute the nearest neighbor search.
Definition at line 123 of file nn_search.cpp.