Geogram  Version 1.9.1-rc
A programming library of geometric algorithms
colocate.h File Reference

Functions to merge points with identical or similar locations. More...

#include <geogram/basic/common.h>
#include <geogram/basic/geometry.h>
#include <vector>

Go to the source code of this file.

Namespaces

 GEO
 Global Vorpaline namespace.
 
 GEO::Geom
 Geometric functions and utilities.
 

Functions

index_t GEO::Geom::colocate (const double *points, coord_index_t dim, index_t nb_points, vector< index_t > &old2new, double tolerance=0.0, index_t stride=0, const std::string &nn_algo="default")
 Finds sets of identical points in a point set. More...
 
index_t GEO::Geom::colocate_by_lexico_sort (const double *points, coord_index_t dim, index_t nb_points, vector< index_t > &old2new, index_t stride)
 Finds sets of identical points in a point set. More...
 

Detailed Description

Functions to merge points with identical or similar locations.

Definition in file colocate.h.