PointSampler library (C++)
Loading...
Searching...
No Matches
relaxation.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  ps
 

Functions

template<typename T , size_t N>
void ps::relaxation_ktree (std::vector< Point< T, N > > &points, size_t k_neighbors=8, T step_size=T(0.1), size_t iterations=10)
 Relax a point set using a k-nearest neighbor repulsion algorithm with a KD-tree.