We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technology expertise.
RegionUnion[reg1,reg2,…]
gives the union of the regions reg1, reg2, ….
Details and Options Examplesopen allclose all Basic Examples (2)Union of two MeshRegion objects:
Scope (12) Special Regions (6)For some regions, the union is computed explicitly:
A union of Line regions:
A union of Polygon regions:
A union of two Disk regions:
A union of two Cuboid regions:
A union of regions with different RegionDimension:
Applications (6)Union of all South America countries to get the map:
Define a stadium as the union of disks and a rectangle:
The area is the sum of disk and quadrilateral areas:
Define a capsule as the union of balls and a cylinder:
The volume is the sum of the ball and cylinder volumes:
By taking a RegionUnion of many disks, dilation of a mesh can be approximated:
Create disks of the dilation radius around the mesh boundary:
Then simply take the union of all disks plus the original mesh:
By removing a RegionUnion of many disks, erosion of a mesh can be approximated:
Create disks of the erosion radius around the mesh boundary:
Then subtract the union of the disks from the original mesh:
Properties & Relations (5) Neat Examples (1)The union of two spiral polygons:
Wolfram Research (2014), RegionUnion, Wolfram Language function, https://reference.wolfram.com/language/ref/RegionUnion.html (updated 2017). TextWolfram Research (2014), RegionUnion, Wolfram Language function, https://reference.wolfram.com/language/ref/RegionUnion.html (updated 2017).
CMSWolfram Language. 2014. "RegionUnion." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2017. https://reference.wolfram.com/language/ref/RegionUnion.html.
APAWolfram Language. (2014). RegionUnion. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RegionUnion.html
BibTeX@misc{reference.wolfram_2025_regionunion, author="Wolfram Research", title="{RegionUnion}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/RegionUnion.html}", note=[Accessed: 11-July-2025 ]}
BibLaTeX@online{reference.wolfram_2025_regionunion, organization={Wolfram Research}, title={RegionUnion}, year={2017}, url={https://reference.wolfram.com/language/ref/RegionUnion.html}, note=[Accessed: 11-July-2025 ]}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4