RSMesh 1.0.0
一个曲面重构的系统,输入为点云,输出为obj,stl等主流格式的网格文件,使用的方法为径向基函数插值,采取了并行优化、Intel-MKL等优化措施,支持百万级别的点云
载入中...
搜索中...
未找到
random_points.h
1//
2// Created by RainSure on 2023/11/3.
3//
4
5#ifndef RSMESH_RANDOM_POINTS_H
6#define RSMESH_RANDOM_POINTS_H
7
8#include <random>
9#include "Eigen/Core"
10
11#include "geometry/cuboid3d.h"
12#include "geometry/point3d.h"
13#include "geometry/sphere3d.h"
14#include "types.h"
15
16namespace rsmesh {
17 namespace point_cloud {
18
19 using seed_type = std::random_device::result_type;
20
21 geometry::points3d random_points(const geometry::cuboid3d& cuboid, index_t n, seed_type seed = std::random_device()());
22
23 geometry::points3d random_points(const geometry::sphere3d& sphere, index_t n, seed_type seed = std::random_device()());
24
25 } // rsmesh
26} // point_cloud
27
28#endif //RSMESH_RANDOM_POINTS_H
vectors3d points3d
3维点的集合
Definition point3d.h:48
本系统的主命名空间,包含了common, examples, fmm, geometry, numeric, point_cloud等子命名空间