We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technology expertise.
RegionDistanceFunction[reg,…]
represents a function whose values give the distance from a point to the region reg.
Details Examplesopen allclose all Basic Examples (1)Generate a region distance function for a unit disk:
Apply the distance function to multiple points:
Scope (17) Special Regions (8)Point sets:
Plot the distance from a three-point set:
Line:
Rectangle can be used in 2D:
Cuboid generalizes it to any dimension:
Equidistance surfaces of a cuboid in 3D:
Simplex can be used in any dimension:
Plot the distance to a 2D simplex:
Disk can be used in 2D:
Ball generalizes a disk to any dimension:
Disk can be an ellipse in 2D:
Ellipsoid generalizes this to any dimension:
Plot the distance to an ellipse:
Circle can be elliptical:
Plot the distance to a circle:
Equidistance contours for a cylinder:
Formula Regions (2)The distance to a disk represented as an ImplicitRegion:
The distance to a disk represented as a ParametricRegion:
Using a rational parametrization of the disk:
Applications (3)Create a region that is a distance from a Triangle:
Visualize the region and triangle:
Create a region that is a distance from the given points:
Create a region that is a distance from a Cuboid:
Properties & Relations (1) Wolfram Research (2014), RegionDistanceFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/RegionDistanceFunction.html. TextWolfram Research (2014), RegionDistanceFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/RegionDistanceFunction.html.
CMSWolfram Language. 2014. "RegionDistanceFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/RegionDistanceFunction.html.
APAWolfram Language. (2014). RegionDistanceFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RegionDistanceFunction.html
BibTeX@misc{reference.wolfram_2025_regiondistancefunction, author="Wolfram Research", title="{RegionDistanceFunction}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/RegionDistanceFunction.html}", note=[Accessed: 11-July-2025 ]}
BibLaTeX@online{reference.wolfram_2025_regiondistancefunction, organization={Wolfram Research}, title={RegionDistanceFunction}, year={2014}, url={https://reference.wolfram.com/language/ref/RegionDistanceFunction.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