BoundaryMesh[mreg]
从 MeshRegion mreg 给出 BoundaryMeshRegion.
BoundaryMesh
BoundaryMesh[mreg]
从 MeshRegion mreg 给出 BoundaryMeshRegion.
更多信息和选项
- BoundaryMesh 有效表示 mreg 的常规闭合区域,也就是说,在该区域上的低维组件将被忽略.
- BoundaryMesh 具有与 MeshRegion 相同的选项.
范例
打开所有单元 关闭所有单元基本范例 (3)
求在一维中全维 MeshRegion 的 BoundaryMeshRegion 表示:
ℛ = MeshRegion[{{0}, {1}, {2}}, {Line[{1, 2}], Line[{2, 3}]}]BoundaryMesh[ℛ]求在二维中全维 MeshRegion 的 BoundaryMeshRegion 表示:
ℛ = MeshRegion[{{0, 0}, {1, 0}, {0, 1}, {1, 1}}, {Triangle[{1, 2, 3}], Triangle[{4, 3, 2}]}]BoundaryMesh[ℛ]求在三维中全维 MeshRegion 的 BoundaryMeshRegion 表示:
ℛ = MeshRegion[{{0, 0, 0}, {2, 0, 0}, {2, 2, 0}, {0, 2, 0}, {1, 1, 2}}, {Tetrahedron[{1, 2, 3, 5}], Tetrahedron[{1, 3, 4, 5}]}, MeshCellStyle -> 2 -> Opacity[0.5]]HighlightMesh[BoundaryMesh[ℛ], Style[2, Opacity[0.5]]]范围 (4)
求在一维中全维 MeshRegion 的 BoundaryMeshRegion 表示:
ℛ = MeshRegion[{{0}, {1}, {2}}, {Line[{1, 2}], Line[{2, 3}]}]BoundaryMesh[ℛ]求在二维中全维 MeshRegion 的 BoundaryMeshRegion 表示:
ℛ = MeshRegion[{{0, 0}, {1, 0}, {0, 1}, {1, 1}}, {Triangle[{1, 2, 3}], Triangle[{4, 3, 2}]}]BoundaryMesh[ℛ]求在三维中全维 MeshRegion 的 BoundaryMeshRegion 表示:
ℛ = MeshRegion[{{0, 0, 0}, {2, 0, 0}, {2, 2, 0}, {0, 2, 0}, {1, 1, 2}}, {Tetrahedron[{1, 2, 3, 5}], Tetrahedron[{1, 3, 4, 5}]}, MeshCellStyle -> 2 -> Opacity[0.5]]HighlightMesh[BoundaryMesh[ℛ], Style[2, Opacity[0.5]]]BoundaryMesh 将从 MeshRegion 中去除较低维的组件:
ℛ = MeshRegion[{{0, 0}, {1, 0}, {0, 1}, {1, 1}}, {Triangle[{1, 2, 3}], Line[{3, 4}]}]BoundaryMesh[ℛ]
属性和关系 (4)
BoundaryMesh 总是全维的:
ℛ = BoundaryMesh[MeshRegion[{{0, 0}, {1, 0}, {0, 1}, {1, 1}}, {Triangle[{1, 2, 3}], Triangle[{4, 3, 2}]}]]RegionDimension[ℛ] == RegionEmbeddingDimension[ℛ]对于 MeshRegion,TriangulateMesh 有效地对 BoundaryMesh 进行三角剖分:
ℛ = MeshRegion[{{0, 0}, {1, 0}, {0, 1}, {1, 1}}, {Triangle[{1, 2, 3}], Triangle[{4, 3, 2}]}]{TriangulateMesh[ℛ], TriangulateMesh[BoundaryMesh[ℛ]]}DelaunayMesh 的 BoundaryMesh 是 ConvexHullMesh:
pts = RandomReal[{-1, 1}, {50, 2}];
dm = DelaunayMesh[pts]{BoundaryMesh[dm], ConvexHullMesh[pts]}pts = RandomReal[1, {50, 3}];{BoundaryMesh[DelaunayMesh[pts]], ConvexHullMesh[pts]}ℛ = DiscretizeRegion[Ball[], MaxCellMeasure -> 0.0001];
ℬ = BoundaryMesh[ℛ];
ByteCount /@ {ℛ, ℬ}相关指南
文本
Wolfram Research (2014),BoundaryMesh,Wolfram 语言函数,https://reference.wolfram.com/language/ref/BoundaryMesh.html (更新于 2015 年).
CMS
Wolfram 语言. 2014. "BoundaryMesh." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2015. https://reference.wolfram.com/language/ref/BoundaryMesh.html.
APA
Wolfram 语言. (2014). BoundaryMesh. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/BoundaryMesh.html 年
BibTeX
@misc{reference.wolfram_2026_boundarymesh, author="Wolfram Research", title="{BoundaryMesh}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/BoundaryMesh.html}", note=[Accessed: 19-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_boundarymesh, organization={Wolfram Research}, title={BoundaryMesh}, year={2015}, url={https://reference.wolfram.com/language/ref/BoundaryMesh.html}, note=[Accessed: 19-August-2026]}