开发者

Code for calculating the intersections between a line segment and a trimesh

开发者 https://www.devze.com 2023-03-12 19:09 出处:网络
I am looking for a good library (preferably in C/C++) that can calculate the intersections开发者_开发问答 between a line segment (ray) and a trimesh.

I am looking for a good library (preferably in C/C++) that can calculate the intersections开发者_开发问答 between a line segment (ray) and a trimesh.

Thanks in advance for any answers!


CGAL is probably overkill, but I suggest it just for reference. The documentation is somewhat intimidating, but this chapter could be of interest for you.


Quick googling led me to GIMPACT (Sourceforge link, not sure if they have an official website)


Maybe something like this? There is an C++ example on that page as well (intersect_RayTriangle).

0

精彩评论

暂无评论...
验证码 换一张
取 消