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.

16 lines
378 B

#pragma once
#include <macros.h>
#include <data/data_type.hpp>
namespace internal
{
struct PE_API pattern {
virtual ~pattern() = default;
virtual std::pair<bool, Eigen::Vector2d> eval_sdf(Eigen::Vector2d p) const = 0;
// virtual double eval_sdf_grad(Eigen::Vector2d p) const = 0;
virtual double get_max_bounding_length() const = 0;
};
} // namespace internal