RegionConvert
RegionConvert[reg,form]
converts the region representation reg to the specified form.
Details
- RegionConvert will produce an expression equivalent to expr.
- RegionConvert is typically used for comparing regions with different representations or to get a representation suitable for different functions, e.g. optimization expects implicit forms of region constraints, whereas integration over a region expects the parametric form of a region.
- The following forms can be used for converting between region representations:
-
"Implicit" implicit representation "Mesh" mesh representation "Parametric" parametric representation "Spline" spline representation
Examples
open allclose allBasic Examples (2)
Scope (11)
Special Regions (5)
Convert Rectangle to the implicit form:
Convert DiskSegment to the implicit form:
Convert CapsuleShape to the implicit form:
Convert Hyperplane to the implicit form:
Represent Sphere as a B-spline surface:
Formula Regions (2)
Convert an ImplicitRegion object to the implicit form:
Convert a ParametricRegion object to the implicit form:
Mesh Regions (2)
Convert a MeshRegion object to the implicit form:
A mesh region with disconnected components:
Convert a BoundaryMeshRegion object to the implicit form:
Derived Regions (2)
Convert a BooleanRegion object to the implicit form:
Convert a TransformedRegion object to the implicit form:
Applications (3)
Properties & Relations (3)
Use CanonicalizePolygon to convert a region representation to a polygon form:
Use CanonicalizePolyhedron to convert a region representation to a polyhedron form:
Use DiscretizeRegion to convert a region into a mesh:
Text
Wolfram Research (2021), RegionConvert, Wolfram Language function, https://reference.wolfram.com/language/ref/RegionConvert.html (updated 2024).
CMS
Wolfram Language. 2021. "RegionConvert." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. https://reference.wolfram.com/language/ref/RegionConvert.html.
APA
Wolfram Language. (2021). RegionConvert. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RegionConvert.html