40 #ifndef GEOGRAM_DELAUNAY_DELAUNAY_NN
41 #define GEOGRAM_DELAUNAY_DELAUNAY_NN
83 index_t nb_vertices,
const double* vertices
135 NearestNeighborSearch_var NN_;
Delaunay interface for NearestNeighbors search.
void set_vertices(index_t nb_vertices, const double *vertices) override
Sets the vertices of this Delaunay, and recomputes the cells.
~Delaunay_NearestNeighbors() override
Delaunay_NearestNeighbors destructor.
virtual index_t get_neighbors_internal(index_t v, index_t nb_neighbors, index_t *neighbors) const
Internal implementation for get_neighbors (with pointers).
void store_neighbors_CB(index_t i) override
Used internally for parallel computation of the neighborhoods in Delaunay.
Delaunay_NearestNeighbors(coord_index_t dimension)
Creates a new Delaunay_NearestNeighbors.
void get_neighbors_internal(index_t v, vector< index_t > &neighbors) const override
Internal implementation for get_neighbors (with vector).
NearestNeighborSearch * nn_search()
Gets the NearestNeighborSearch used internally.
virtual void enlarge_neighborhood(index_t i, index_t nb)
Stores nb neighbors with vertex i.
index_t nearest_vertex(const double *p) const override
Computes the nearest vertex from a query point.
Abstract interface for Delaunay triangulation in Nd.
Abstract interface for nearest neighbor search algorithms.
Abstract interface for Delaunay.
Common include file, providing basic definitions. Should be included before anything else by all head...
Global Vorpaline namespace.
geo_index_t index_t
The type for storing and manipulating indices.
geo_coord_index_t coord_index_t
The type for storing coordinate indices, and iterating on the coordinates of a point.
Abstract interface for nearest neighbor searching.
Function and classes for process manipulation.