CanonicalizeRegion
CanonicalizeRegion[reg]
gives a canonical representation of the region reg.
Details
- CanonicalizeRegion is typically used to get a simple standard representation of a region from various representations and descriptions that makes them easier to handle in other programs, e.g. to convert entities to geometric regions when possible.
- CanonicalizeRegion converts a region reg to a simple representation free of degeneracy such as over-specified coordinates, irregular argument specifications and descriptions.
Examples
open allclose allBasic Examples (3)
Remove over-specified coordinates:
Adjust argument specifications in Rectangle:
Scope (2)
Give a simple representation of a degenerate Rectangle:
A degenerate RegularPolygon:
A degenerate Simplex:
A degenerate Sphere:
CanonicalizeRegion works on polygons with geographic entities:
Applications (1)
Write a program that finds the leftmost point of a region using simple rules:
CanonicalizeRegion extends the rules to match special forms:
Properties & Relations (4)
Use CanonicalizePolygon to get a canonical representation of a polygon:
Use CanonicalizePolyhedron to get a canonical representation of a polyhedron:
Use RegionConvert to get an implicit representation of a region:
Use DiscretizeRegion to convert a region into a mesh:
Possible Issues (1)
CanonicalizeRegion preserves regions with special representations:
Text
Wolfram Research (2021), CanonicalizeRegion, Wolfram Language function, https://reference.wolfram.com/language/ref/CanonicalizeRegion.html.
CMS
Wolfram Language. 2021. "CanonicalizeRegion." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CanonicalizeRegion.html.
APA
Wolfram Language. (2021). CanonicalizeRegion. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CanonicalizeRegion.html