The function spatial_sort sorts an iterator range of points in a way that improves space locality. Two points close in the order will be close geometrically, and two points close geometrically will have a high probability of being close in the order.
#include <CGAL/spatial_sort.h>
| ||||
|
|
The default traits class Default_traits is the kernel in which the type RandomAccessIterator::value_type is defined.
Creates an instance of Multiscale_sort<Hilbert_sort_2<Traits>> or Multiscale_sort<Hilbert_sort_3<Traits>> and calls its operator().