B 代表的音量?
我想知道如何计算由边界表示(B-Rep)表示的实体的体积?有什么提示吗?提前致谢
I would like to know how to calculate the volume of a solid object that is represented by Boundary representation (B-Rep)? Any hints? Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用高斯定理将体积积分转化为表面积分。您可能还记得斯托克定理和微积分中的格林定理。基本上是一样的想法。评估是否可以将 B-Rep 转换为一组平面多边形是相当容易的。您可以找到一些详细信息 此处 和 此处。
如果你的表面是非流形的,结果不会很好,但无论如何在这种情况下问题都没有得到很好的定义。
You can use Gauss' theorem to turn the volume integral into a surface integral. You probably remember Stoke's theorem and Green's theorem from calculus. It's basically the same idea. It is fairly easy to evaluate if you can turn your B-Rep into a set of planar polygons. You can find some details here and here.
This isn't going to turn out well if your surface is non-manifold, but the problem isn't well defined in that case anyways.