RSMesh 1.0.0
一个曲面重构的系统,输入为点云,输出为obj,stl等主流格式的网格文件,使用的方法为径向基函数插值,采取了并行优化、Intel-MKL等优化措施,支持百万级别的点云
载入中...
搜索中...
未找到
| 类型定义 | 函数
rsmesh::geometry 命名空间参考

该命名空间下主要定义了几何学相关的类和函数 更多...

class  bbox3d
 
class  cuboid3d
 
class  sphere3d
 

类型定义

using vector2d = Eigen::RowVector2d
 2维向量
 
using point2d = vector2d
 2维点
 
using vector3d = Eigen::RowVector3d
 3维向量
 
using matrix3d = Eigen::Matrix<double, 3, 3, Eigen::RowMajor>
 3维矩阵
 
using point3d = vector3d
 3维点
 
using vectors3d = Eigen::Matrix<double, Eigen::Dynamic, 3, Eigen::RowMajor>
 3维向量的集合
 
using points3d = vectors3d
 3维点的集合
 
using linear_transformation3d = Eigen::Matrix<double, 3, 3, Eigen::RowMajor>
 线性变换矩阵
 

函数

template<class T >
linear_transformation3d to_linear_transformation3d (T t)
 从一个变换矩阵中提取出线性变换矩阵
 
point3d transform_point (const linear_transformation3d &lhs, const point3d &p)
 对一个三维点进行线性变换
 
vector3d transform_vector (const linear_transformation3d &lhs, const vector3d &v)
 对一个三维向量进行线性变换
 

详细描述

该命名空间下主要定义了几何学相关的类和函数

类型定义说明

◆ linear_transformation3d

using rsmesh::geometry::linear_transformation3d = Eigen::Matrix<double, 3, 3, Eigen::RowMajor>

线性变换矩阵

在文件 point3d.h53 行定义.

◆ matrix3d

using rsmesh::geometry::matrix3d = Eigen::Matrix<double, 3, 3, Eigen::RowMajor>

3维矩阵

在文件 point3d.h34 行定义.

◆ point2d

2维点

在文件 point3d.h26 行定义.

◆ point3d

3维点

在文件 point3d.h39 行定义.

◆ points3d

3维点的集合

在文件 point3d.h48 行定义.

◆ vector2d

using rsmesh::geometry::vector2d = Eigen::RowVector2d

2维向量

在文件 point3d.h21 行定义.

◆ vector3d

using rsmesh::geometry::vector3d = Eigen::RowVector3d

3维向量

在文件 point3d.h30 行定义.

◆ vectors3d

using rsmesh::geometry::vectors3d = Eigen::Matrix<double, Eigen::Dynamic, 3, Eigen::RowMajor>

3维向量的集合

在文件 point3d.h44 行定义.

函数说明

◆ to_linear_transformation3d()

template<class T >
linear_transformation3d rsmesh::geometry::to_linear_transformation3d ( T t)

从一个变换矩阵中提取出线性变换矩阵

\function to_linear_transformation3d

模板参数
T模板参数
参数
t变换矩阵
返回

在文件 point3d.h63 行定义.

◆ transform_point()

point3d rsmesh::geometry::transform_point ( const linear_transformation3d & lhs,
const point3d & p )
inline

对一个三维点进行线性变换

\function transform_point

参数
lhs线性变换矩阵
p三维点
返回

在文件 point3d.h75 行定义.

◆ transform_vector()

vector3d rsmesh::geometry::transform_vector ( const linear_transformation3d & lhs,
const vector3d & v )
inline

对一个三维向量进行线性变换

\function transform_vector

参数
lhs线性变换矩阵
v三维向量
返回

在文件 point3d.h87 行定义.