cpp-toolbox  0.0.1
A toolbox library for C++
Loading...
Searching...
No Matches
point_utils.hpp File Reference
#include <algorithm>
#include <cmath>
#include <functional>
#include <future>
#include <iterator>
#include <random>
#include <thread>
#include <vector>
#include <cpp-toolbox/cpp-toolbox_export.hpp>
#include <cpp-toolbox/logger/thread_logger.hpp>
#include <cpp-toolbox/types/minmax.hpp>
#include <cpp-toolbox/types/point.hpp>
Include dependency graph for point_utils.hpp:

Go to the source code of this file.

Namespaces

namespace  toolbox
 
namespace  toolbox::types
 

Functions

template<typename T >
CPP_TOOLBOX_EXPORT auto toolbox::types::generate_random_points (const std::size_t &num_points, const minmax_t< point_t< T > > &minmax) -> std::vector< point_t< T > >
 在给定边界内顺序生成随机点 / Generates random points within given bounds sequentially
 
template<typename T >
CPP_TOOLBOX_EXPORT auto toolbox::types::generate_random_points_parallel (const std::size_t &num_points, const minmax_t< point_t< T > > &minmax) -> std::vector< point_t< T > >
 在给定边界内并行生成随机点 / Generates random points within given bounds in parallel