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 all

Basic Examples  (3)

Remove over-specified coordinates:

Adjust argument specifications in Rectangle:

Give a simple representation of a degenerate polygon:

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:

A parametric representation:

Use DiscretizeRegion to convert a region into a mesh:

Possible Issues  (1)

CanonicalizeRegion preserves regions with special representations:

Mesh regions:

Wolfram Research (2021), CanonicalizeRegion, Wolfram Language function, https://reference.wolfram.com/language/ref/CanonicalizeRegion.html.

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

BibTeX

@misc{reference.wolfram_2024_canonicalizeregion, author="Wolfram Research", title="{CanonicalizeRegion}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/CanonicalizeRegion.html}", note=[Accessed: 24-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_canonicalizeregion, organization={Wolfram Research}, title={CanonicalizeRegion}, year={2021}, url={https://reference.wolfram.com/language/ref/CanonicalizeRegion.html}, note=[Accessed: 24-November-2024 ]}