Is there an "inverse" of decsg?
3 次查看(过去 30 天)
显示 更早的评论
Is there a function that is like the invese of decsg? By that I mean: dl = decsg(gd) takes a geometry description matrix gd and returns a decomposed geometry description matrix dl. But what I need is the opposite: Given dl I need to "reconstitute" gd.
0 个评论
采纳的回答
Animesh
2024-8-19
编辑:Animesh
2024-8-19
It appears that there isn't an inverse for the 'decsg' function in MATLAB. This is because the 'decsg' function in MATLAB isn't inherently a one-to-one function. Its role is to decompose a given Constructive Solid Geometry (CSG) model into its minimal regions, and the relationship between the input geometry description and the output decomposed geometry isn't strictly one-to-one.
You can refer the following MathWorks documentation for more information:
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Geometry and Mesh 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!