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.
23 lines
545 B
23 lines
545 B
#pragma once
|
|
#include "OccHelper.hpp"
|
|
#include "OccShape.hpp"
|
|
#include "DomainDiscretization.hpp"
|
|
#include <vector>
|
|
#include <Eigen/Core>
|
|
|
|
namespace meshless {
|
|
|
|
|
|
DomainDiscretization<Eigen::Vector3d> discretizeBoundaryWithDensity(const OccShape& shape, const std::function<double(Eigen::Vector3d)>& h, int type);
|
|
|
|
DomainDiscretization<Eigen::Vector3d> discretizeBoundaryWithStep(const OccShape& shape, double step, int type) {
|
|
auto f = [=](Eigen::Vector3d) {return step; };
|
|
return discretizeBoundaryWithDensity(shape, f, type);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
};
|