Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
通过使用surf2patch(sphere(),'triangle'),将 sphere 的球坐标转换为三角形块。
surf2patch(sphere(),'triangle')
有什么方法可以计算每个贴片的表面积吗?
我可以遍历每个补丁,并获得构成补丁的每个顶点的笛卡尔坐标,但不确定数学部分。
谢谢
这意味着您的三角形(多边形)已经在笛卡尔坐标中。我建议您使用基本的多边形命令,即 A = polyarea(X,Y)。通过这种方式,您可以遍历所有三角形并计算其面积。
查看此 mathworks.com 页面以获得更多帮助。