extract explicit mesh with topology information from implicit surfaces with boolean operations, and do surface/volume integrating on them.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
502 B

4 months ago
#pragma once
#include <background_mesh.hpp>
class BackgroundMeshManager
{
public:
void generate(const Eigen::Ref<const raw_point_t>& aabb_min, const Eigen::Ref<const raw_point_t>& aabb_max) noexcept;
const auto get_vertices() const noexcept { return m_background_mesh.vertices; }
const auto get_indices() const noexcept { return m_background_mesh.indices; }
const auto identity() const noexcept { return m_background_mesh; }
private:
tetrahedron_mesh_t m_background_mesh{};
};