RegionDilation[reg,r]
gives the dilation of the region reg by a disk of radius r centered at the origin.
RegionDilation[reg1,reg2]
gives the dilation of the region reg1 by the region reg2.
RegionDilation[reg1,reg2,{u,v}]
gives the dilation of reg1 scaled by a factor u and reg2 scaled by a factor v.
RegionDilation
RegionDilation[reg,r]
gives the dilation of the region reg by a disk of radius r centered at the origin.
RegionDilation[reg1,reg2]
gives the dilation of the region reg1 by the region reg2.
RegionDilation[reg1,reg2,{u,v}]
gives the dilation of reg1 scaled by a factor u and reg2 scaled by a factor v.
Details and Options
- RegionDilation is also known as Minkowski sum, geometric sum or offset.
- Typically used to construct the union of positions of a region through translation.
- RegionDilation[reg,r] gives the dilation of the region reg by a disk of radius r.
- RegionDilation[reg1,reg2] returns the region reg1⊕reg2={a+b|a∈reg1∧b∈reg2}.
- RegionDilation[reg1,reg2,{u,v}] returns the region u reg1⊕v reg2={u a+v b|a∈reg1∧b∈reg2}.
- RegionDilation takes the same options as Region.
Examples
open all close allBasic Examples (4)
RegionDilation[Disk[], 1 / 2]Region[RegionDilation[Triangle[], Disk[]]]Dilation of Rectangle by Triangle:
RegionDilation[Rectangle[], Triangle[]]Region[%]RegionDilation[[image], [image]]Region[%]Scope (8)
Special Regions (4)
RegionDilation[Line[{{0, 0}, {1, 1}}], Line[{{1, 1}, {2, 1}}]]Region[%]RegionDilation[Disk[{0, 0}, 1], Disk[{1, 0}, 1]];Region[%]Dilation of a rectangle and a disk:
RegionDilation[Region[Rectangle[]], Disk[]]ℛ = RegionDilation[Disk[{0, 0}, 1], Circle[{1, 0}, 1]];Region[ℛ]Subscript[ℛ, 1] = Polygon[{{0, 0}, {3, -1}, {2, 0}, {3, 1}}];
Subscript[ℛ, 2] = Polygon[{{5, 0}, {2, 1}, {3, 0}, {2, -1}}];ℛ = RegionDilation[Subscript[ℛ, 1], Subscript[ℛ, 2]];Region[ℛ]Formula Regions (1)
RegionDilation of ImplicitRegion objects:
Subscript[ℛ, 1] = ImplicitRegion[x ≤ -1, {x}];
Subscript[ℛ, 2] = ImplicitRegion[x ≥ 1, {x}];RegionDilation[Subscript[ℛ, 1], Subscript[ℛ, 2]]Subscript[ℛ, 1] = ImplicitRegion[x^2 + y^2 ≤ 1, {x, y}];
Subscript[ℛ, 2] = ImplicitRegion[x^2 + (y - 1)^2 ≤ 1, {x, y}];RegionDilation[Subscript[ℛ, 1], Subscript[ℛ, 2]]DiscretizeRegion[%]Mesh Regions (1)
Dilation of two BoundaryMeshRegion objects:
RegionDilation[[image], [image]];Region[%]RegionDilation[[image], [image]];Region[%]Derived Regions (2)
Dilation of two BooleanRegion objects:
Subscript[ℛ, 1] = BooleanRegion[Or, {Triangle[{{0, 0}, {2, 3}, {-2, 3}}], Triangle[{{0, 2}, {2, -1}, {-2, -1}}]}];
Subscript[ℛ, 2] = BooleanRegion[And, {Triangle[{{0, 0}, {2, 3}, {-2, 3}}], Triangle[{{0, 2}, {2, -1}, {-2, 2}}]}];ℛ = RegionDilation[Subscript[ℛ, 1], Subscript[ℛ, 2]];Region[ℛ]Dilation of two TransformedRegion objects:
Subscript[ℛ, 1] = TransformedRegion[Cuboid[], RotationTransform[Pi / 8, {1, 0, 0}]];
Subscript[ℛ, 2] = TransformedRegion[Cuboid[], RotationTransform[Pi / 8, {0, 1, 0}]];ℛ = RegionDilation[Subscript[ℛ, 1], Subscript[ℛ, 2]];Region[ℛ]Possible Issues (1)
RegionDilation gives an approximate result when the exact result cannot be computed:
RegionDilation[Polygon[{{0, 0}, {1, 0}, {1, 1}}], Disk[]]On[General::approx]RegionDilation[Polygon[{{0, 0}, {1, 0}, {1, 1}}], Disk[]]
See Also
Related Guides
History
Text
Wolfram Research (2021), RegionDilation, Wolfram Language function, https://reference.wolfram.com/language/ref/RegionDilation.html.
CMS
Wolfram Language. 2021. "RegionDilation." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/RegionDilation.html.
APA
Wolfram Language. (2021). RegionDilation. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RegionDilation.html
BibTeX
@misc{reference.wolfram_2026_regiondilation, author="Wolfram Research", title="{RegionDilation}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/RegionDilation.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_regiondilation, organization={Wolfram Research}, title={RegionDilation}, year={2021}, url={https://reference.wolfram.com/language/ref/RegionDilation.html}, note=[Accessed: 12-June-2026]}