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.
-**To apply the Element Diameter 2D quality criterion to your mesh:**
+*To apply the Element Diameter 2D quality criterion to your mesh:*
-#. Display your mesh in the viewer.
-#. Choose **Controls > Face Controls > Element Diameter 2D** or click **"Element Diameter 2D"** button in the toolbar.
-
- .. image:: ../images/image42.png
- :align: center
+.. |img| image:: ../images/image42.png
- .. centered::
- **"Element Diameter 2D" button**
+#. Display your mesh in the viewer.
+#. Choose **Controls > Face Controls > Element Diameter 2D** or click *"Element Diameter 2D"* button |img| in the toolbar.
- Your mesh will be displayed in the viewer with its elements colored according to the applied mesh quality control criterion:
+ Your mesh will be displayed in the viewer with its elements colored according to the applied mesh quality control criterion:
.. image:: ../images/max_element_length_2d.png
:align: center
-**See Also** a sample TUI Script of a :ref:`tui_max_element_length_2d` operation.
-
-
+**See Also** a sample TUI Script of a :ref:`tui_max_element_length_2d` filter.