/*!
\page uniting_set_of_triangles_page Uniting a set of triangles
\n In contrast to the previous operation this one allows to unite at
once many triangles if they have adjacent edges.
To union several triangles:
- Display a mesh or a submesh in the 3D viewer.
- In the \b Modification menu select the Union of triangles
item or click "Union of triangles" button in the toolbar.
\image html image80.png
"Union of triangles" button
The following dialog box will appear:
\image html a-unionoftriangles.png
- The main list shall contain the triangles which will be
united. You can click on an triangle in the 3D viewer and it will be
highlighted. After that click the \b Add button and the ID of this
triangle will be added to the list. To remove a selected element or
elements from the list click the \b Remove button. The \b Sort button allows
to sort the list of IDs. The Set filter button allows to apply a
definite filter to selection of triangles.
- Apply to all radio button allows to modify connectivity and
type of all triangles of the currently displayed mesh or submesh.
- \b Criterion menu allows to apply the operation only to those
object which meet the chosen criterion (from the list of Quality
Controls, i.e. Skew, Warping, Minimum Angle, etc.)
- Select from set of fields allows to choose a submesh or an
existing group whose triangle elements will be automatically added to
the list.
- Click the \b Apply or Apply and Close button to confirm the operation.
If some selected triangle elements have no adjacent edges with one of
the others, the operation on these elements shall take no effect.
\image html uniting_a_set_of_triangles1.png "The chosen triangles"
\image html uniting_a_set_of_triangles2.png "The union of several triangles - several quadrangular cells are created"
See Also a sample TUI Script of a
\ref tui_uniting_set_of_triangles "Uniting a Set of Triangles" operation.
*/