2017-12-08 19:09:48 +05:00
.. _max_element_length_2d_page:
***** ***** ***** *** *
Element Diameter 2D
***** ***** ***** *** *
This quality control criterion consists in calculation of the maximal length of edges and diagonals of 2D mesh elements (triangles and quadrangles). For polygons the value is always zero.
2018-05-25 22:04:48 +05:00
*To apply the Element Diameter 2D quality criterion to your mesh:*
2017-12-08 19:09:48 +05:00
2018-05-25 22:04:48 +05:00
.. |img| image :: ../images/image42.png
2017-12-08 19:09:48 +05:00
2018-05-25 22:04:48 +05:00
#. Display your mesh in the viewer.
#. Choose **Controls > Face Controls > Element Diameter 2D** or click *"Element Diameter 2D"* button |img| in the toolbar.
2017-12-08 19:09:48 +05:00
2018-05-25 22:04:48 +05:00
Your mesh will be displayed in the viewer with its elements colored according to the applied mesh quality control criterion:
2017-12-08 19:09:48 +05:00
.. image:: ../images/max_element_length_2d.png
:align: center
2018-05-25 22:04:48 +05:00
**See Also** a sample TUI Script of a :ref: `tui_max_element_length_2d` filter.