Function mapping_algorithms::utils::point_cloud::generate_point_cloud
source · pub fn generate_point_cloud<T, const N: usize>(
num_points: usize,
ranges: [RangeInclusive<T>; N],
) -> Vec<Point<T, N>>Expand description
Generates a randomized points cloud within a specified spherical range.
§Arguments
num_points: ausize, specifying the amount of points to generaterange: acrate::ops::RangeInclusivespecifying the normal distribution of points.