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

Go to the source code of this file.

Namespaces

namespace  ps
 

Functions

template<typename T , size_t N, typename DensityFn >
std::vector< Point< T, N > > ps::function_rejection_filter (const std::vector< Point< T, N > > &points, DensityFn density_fn, std::optional< unsigned int > seed=std::nullopt)
 Filters points based on a spatial probability (density) function.