MeshQualityGoal
is an option for DiscretizeRegion and related functions that specifies a mesh cell quality goal for the result.
Details

- Possible settings include:
-
Automatic quality automatically chosen "Minimal" minimal quality, no quality goal "Maximal" maximal quality q quality - The automatically chosen quality goal may depend on PerformanceGoal and other option settings.
- The quality measure
is computed so that for regular polygons and polyhedra
and for degenerate polygons and polyhedra
.
- It is generally not possible to generate a mesh to satisfy MeshQualityGoal->1. In this case, the meshing routine will try for the best quality that can typically be achieved.
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Scope (2)Survey of the scope of standard use cases
Triangulate an octagon with the "Minimal" and "Maximal" number of triangles:

https://wolfram.com/xid/0mk4ln07vkr6-i8lpms


https://wolfram.com/xid/0mk4ln07vkr6-cwc8up

Triangulate with more regular triangles, but no measure constraint:

https://wolfram.com/xid/0mk4ln07vkr6-t3o5q0

Specify a numeric quality goal:

https://wolfram.com/xid/0mk4ln07vkr6-dfbhah

Wolfram Research (2014), MeshQualityGoal, Wolfram Language function, https://reference.wolfram.com/language/ref/MeshQualityGoal.html.
Text
Wolfram Research (2014), MeshQualityGoal, Wolfram Language function, https://reference.wolfram.com/language/ref/MeshQualityGoal.html.
Wolfram Research (2014), MeshQualityGoal, Wolfram Language function, https://reference.wolfram.com/language/ref/MeshQualityGoal.html.
CMS
Wolfram Language. 2014. "MeshQualityGoal." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MeshQualityGoal.html.
Wolfram Language. 2014. "MeshQualityGoal." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MeshQualityGoal.html.
APA
Wolfram Language. (2014). MeshQualityGoal. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MeshQualityGoal.html
Wolfram Language. (2014). MeshQualityGoal. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MeshQualityGoal.html
BibTeX
@misc{reference.wolfram_2025_meshqualitygoal, author="Wolfram Research", title="{MeshQualityGoal}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/MeshQualityGoal.html}", note=[Accessed: 04-April-2025
]}
BibLaTeX
@online{reference.wolfram_2025_meshqualitygoal, organization={Wolfram Research}, title={MeshQualityGoal}, year={2014}, url={https://reference.wolfram.com/language/ref/MeshQualityGoal.html}, note=[Accessed: 04-April-2025
]}