#pragma once #include "OccHelper.hpp" #include "OccShape.hpp" #include "DomainDiscretization.hpp" #include #include namespace meshless { DomainDiscretization discretizeBoundaryWithDensity(const OccShape& shape, const std::function& h, int type); DomainDiscretization discretizeBoundaryWithStep(const OccShape& shape, double step, int type) { auto f = [=](Eigen::Vector3d) {return step; }; return discretizeBoundaryWithDensity(shape, f, type); } };