#pragma once #include "OccHelper.hpp" #include "OccShape.hpp" #include "DomainDiscretization.hpp" #include "KDTree.hpp" #include "KDTreeMutable.hpp" #include #include namespace meshless { template void fillInteriorWithDensity(const OccShape& shape, DomainDiscretization& domain, const std::function& h, KDTreeMutable& search, contains_func& containsFunc, int type); template void fillInteriorWithStep(const OccShape& shape, DomainDiscretization& domain, double step, KDTreeMutable& search, contains_func& containsFunc, int type) { auto f = [=](Eigen::Vector3d) {return step; }; fillInteriorWithDensity(shape, domain, f, search, containsFunc, type); } };