#include <array>
#include <cstdint>
#include <functional>
#include <vector>
#include <voro++.hh>
#include <voro++_2d.hh>
#include "vulpes/geometry/mesh.hpp"
Go to the source code of this file.
|
| template<int32_t Dim, typename = std::enable_if_t<(Dim == 2) || (Dim == 3)>> |
| using | vulpes::geometry::VoronoiCell |
| | Alias for the Voronoi cell type based on the dimensionality (2D or 3D).
|
|
| void | vulpes::geometry::voronoi2D (const std::array< Point< double, 2 >, 2 > &bbox, const std::vector< Point< double, 2 > > &points, const std::function< void(voro::voronoicell_neighbor_2d &cell, int32_t id)> &cell_callback) |
| | Computes a 2D Voronoi tessellation for a given set of points within a bounding box.
|
| void | vulpes::geometry::voronoi3D (const std::array< Point< double, 3 >, 2 > &bbox, const std::vector< Point< double, 3 > > &points, const std::function< void(voro::voronoicell_neighbor &cell, int32_t id)> &cell_callback) |
| | Computes a 3D Voronoi tessellation for a given set of points within a bounding box.
|
| template<int32_t Dim, typename = std::enable_if_t<(Dim == 2) || (Dim == 3)>> |
| void | vulpes::geometry::voronoi (const std::array< Point< double, Dim >, 2 > &bbox, std::vector< Point< double, Dim > > &points, const std::function< void(VoronoiCell< Dim > &cell, int32_t id)> &cell_callback) |
| | Computes a Voronoi tessellation in either 2D or 3D space.
|