|
ViewDesignEngine
3.1.0
高性能 CAD 计算几何引擎
|
射线-三角形求交结果 更多...
#include <ray_intersect.h>

Public 属性 | |
| double | t |
| double | u |
| double | v |
| Point3D | point |
射线-三角形求交结果
在文件 ray_intersect.h 第 29 行定义.
| Point3D vde::collision::RayTriResult::point |
命中点的世界坐标
在文件 ray_intersect.h 第 32 行定义.
| double vde::collision::RayTriResult::t |
沿射线的参数:hit_point = origin + t * dir
在文件 ray_intersect.h 第 30 行定义.
| double vde::collision::RayTriResult::u |
在文件 ray_intersect.h 第 31 行定义.
| double vde::collision::RayTriResult::v |
三角形重心坐标:hit_point = (1−u−v)*v0 + u*v1 + v*v2
在文件 ray_intersect.h 第 31 行定义.