RSMesh 1.0.0
一个曲面重构的系统,输入为点云,输出为obj,stl等主流格式的网格文件,使用的方法为径向基函数插值,采取了并行优化、Intel-MKL等优化措施,支持百万级别的点云
载入中...
搜索中...
未找到
rbf_fitter.cpp
1//
2// Created by RainSure on 2024/2/3.
3//
4#include "interpolation/rbf_fitter.h"
5#include "interpolation/rbf_solver.h"
6namespace rsmesh::interpolation {
7 rbf_fitter::rbf_fitter(const model& model, const geometry::points3d& points) : model_(model), points_(points) {};
8
9 valuesd rbf_fitter::fit(const rsmesh::valuesd &values, double absolute_tolerance, int max_iter) const {
10 rbf_solver solver(model_, points_);
11 return solver.solve(values, absolute_tolerance, max_iter);
12 }
13}
vectors3d points3d
3维点的集合
Definition point3d.h:48
该命名空间下主要定义了插值相关的类和函数