多边形三角剖分
我正在研究钣金零件的嵌套,并正在实施 Minkowski Sums 来查找不适合嵌套的多边形。 问题是我只能给出凸集作为为我计算 Minkowski 和的代码的输入。 因此,我需要打破一个凹多边形,并在凸集上打孔。 我也对三角测量持开放态度,但我正在寻找 VC++ (6.0) 上的工作代码。 我的时间有点不够,因为我的整个代码已经准备好,只是等待凸集形式的输入。
如果有经验的人可以在这方面帮助我,我将非常感激。 我浏览过其他帖子,但没有找到与此匹配的内容。 我是一名机械工程专业的学生,对计算机语言确实不太了解。 我所能处理的就是在 VC++ 上编译代码并将其与我现有的代码合并。
I am working on nesting of sheet metal parts and am implementing Minkowski Sums to find No Fit Polygons for nesting. The problem is I can give only convex sets as input to the code which calculates Minkowski sums for me. Hence I need to break a concave polygon, with holes into Convex sets. I am open to triangulation also, but I am looking for a working code on VC++ (6.0). I am slightly running short on time as my whole code is ready and just waiting for input in the form of convex sets.
I would really appreciate if somebody with prior experience can help me in this. I have gone through other posts but did not find anything matching to this. I am a student of mechanical engineering and really dun have much idea about computer languages. All I can handle is compiling a code on VC++ and incorporate it with my existing code.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您可以访问 OpenGL,则可以利用 GLU 的曲面细分。 您不必实际使用 OpenGL 来使用曲面细分器,但我将其作为练习留给读者。
If you have access to OpenGL, you can take advantage of GLU's tessellation. You don't have to actually use OpenGL to use the tessellator, but I leave that as an exercise to the reader.