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

Go to the source code of this file.

Namespaces

namespace  ps
 

Functions

template<typename T , size_t N>
std::vector< Point< T, N > > ps::random_walk_filaments (size_t n_filaments, size_t filament_count, T step_size, const std::array< std::pair< T, T >, N > &ranges, std::optional< unsigned int > seed=std::nullopt, T persistence=T(0.8), T gaussian_sigma=T(0), size_t gaussian_samples=0, std::vector< T > *p_distances=nullptr)
 Generate random walk filaments in N dimensions with optional Gaussian thickness.