13#ifndef INCLUDE_TORUS_D_HPP_
14#define INCLUDE_TORUS_D_HPP_
16#include <CGAL/Cartesian_d.h>
17#include <CGAL/constructions_d.h>
18#include <CGAL/point_generators_d.h>
19#include <fmt/format.h>
23namespace cdt::experimental::torus
25 using Kd = CGAL::Cartesian_d<double>;
26 using Point = Kd::Point_d;
28 CGAL::Creator_uniform_d<std::vector<double>::iterator, Point>;
36 inline void make_d_cube(std::vector<Point>& t_points,
37 std::size_t t_number_of_points,
int t_dimension)
39 constexpr double size = 1.0;
41 fmt::print(
"Generating {} grid points in {}D\n", t_number_of_points,
44 t_points.reserve(t_number_of_points);
45 points_on_cube_grid_d(t_dimension, size, t_number_of_points,
46 std::back_inserter(t_points), Creator_d(t_dimension));