RSMesh
1.0.0
一个曲面重构的系统,输入为点云,输出为obj,stl等主流格式的网格文件,使用的方法为径向基函数插值,采取了并行优化、Intel-MKL等优化措施,支持百万级别的点云
载入中...
搜索中...
未找到
include
fmm
fmm_tree_height.h
1
//
2
// Created by RainSure on 2024/2/4.
3
//
4
5
#ifndef RSMESH_FMM_TREE_HEIGHT_H
6
#define RSMESH_FMM_TREE_HEIGHT_H
7
#include <algorithm>
8
#include <cmath>
9
#include "types.h"
10
11
namespace
rsmesh::fmm {
12
inline
int
fmm_tree_height(index_t points_estimated) {
13
return
2 + std::max(2,
static_cast<
int
>
(std::floor(std::log(points_estimated))));
14
}
15
}
// namespace rsmesh::fmm
16
17
#endif
//RSMESH_FMM_TREE_HEIGHT_H
制作者
1.10.0