擅长:python、mysql、java
<p>我发现了一种使用pyoctree的方法,pyoctree有一个函数来查找线段和网格之间的交点。这里是链接:<a href="https://pypi.org/project/pyoctree/" rel="nofollow noreferrer">https://pypi.org/project/pyoctree/</a></p>
<p>我能够使用rayIntersection()快速完成我想做的事情。这个<a href="https://stackoverflow.com/questions/42740765/intersection-between-line-and-triangle-in-3d">Intersection between line and triangle in 3D</a>也有帮助,但是当它处理曲线中的60K+点时,计算速度非常慢</p>