Vulpes  0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
Loading...
Searching...
No Matches
voronoi.cpp File Reference
#include "vulpes/geometry/voronoi.hpp"
#include <array>
#include <cassert>
#include <cstdint>
#include <functional>
#include <vector>
#include <Eigen/Dense>
#include <voro++.hh>
#include <voro++_2d.hh>
#include "vulpes/geometry/mesh.hpp"
Include dependency graph for voronoi.cpp:

Namespaces

namespace  vulpes
namespace  vulpes::geometry

Functions

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.