RSMesh
1.0.0
一个曲面重构的系统,输入为点云,输出为obj,stl等主流格式的网格文件,使用的方法为径向基函数插值,采取了并行优化、Intel-MKL等优化措施,支持百万级别的点云
载入中...
搜索中...
未找到
include
geometry
cuboid3d.h
1
//
2
// Created by RainSure on 2023/10/25.
3
//
4
5
#ifndef RSMESH_CUBOID3D_H
6
#define RSMESH_CUBOID3D_H
7
8
#include "point3d.h"
9
10
namespace
rsmesh
{
11
namespace
geometry {
12
13
class
cuboid3d
{
14
public
:
15
cuboid3d
() : min_(point3d::Zero()), max_(point3d::Ones()) { }
16
cuboid3d
(
point3d
min,
point3d
max) : min_(std::move(min)), max_(std::move(max)) { }
17
18
bool
operator==(
const
cuboid3d
& rhs)
const
{
19
return
min_ == rhs.min_ and max_ == rhs.max_;
20
}
21
22
[[nodiscard]]
const
point3d
& min()
const
{
23
return
min_;
24
}
25
26
[[nodiscard]]
const
point3d
& max()
const
{
27
return
max_;
28
}
29
30
private
:
31
const
point3d
min_;
32
const
point3d
max_;
33
};
34
35
}
// rsmesh
36
}
// geometry
37
38
#endif
//RSMESH_CUBOID3D_H
rsmesh::geometry::cuboid3d
Definition
cuboid3d.h:13
rsmesh::geometry::point3d
vector3d point3d
3维点
Definition
point3d.h:39
rsmesh
本系统的主命名空间,包含了common, examples, fmm, geometry, numeric, point_cloud等子命名空间
Definition
eigen_utility.h:23
制作者
1.10.0