3D中点和三角之间的距离 [英] Distance between Point and Triangle in 3D

查看:89
本文介绍了3D中点和三角之间的距离的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好



我正在寻找一个C / C ++代码,用于计算3D中点和三角之间的最小距离。请有人帮我。



谢谢

Bojan

Hello

Im looking for a C/C++ code for a computing the minimum distance between a Point and Triangle in 3D. Please anyone can help me.

Thanks
Bojan

推荐答案

你可以在这里找到所需的数学和简单的实现:

http://www.geometrictools。 com / Documentation / DistancePoint3Triangle3.pdf [ ^ ]
You can find the required math and a simple implementation right here:
http://www.geometrictools.com/Documentation/DistancePoint3Triangle3.pdf[^]


这可能对你有用:



www-compsci.swan.ac.uk/~csmark/PDFS/dist.pdf [ ^ ]
this might be useful for you:

www-compsci.swan.ac.uk/~csmark/PDFS/dist.pdf[^]


这篇关于3D中点和三角之间的距离的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆