/*!
\page merging_elements_page Merging Elements
\n This functionality allows to merge coincident elements of a mesh
object selectable in the dialog box. Two elements are considered coincident if they are based on the same set of nodes.
\image html mergeelems_ico.png "Merge elements menu button"
- Choose in the main menu \b Modification -> \b Transformation
-> Merge elements item. The following dialog box shall
appear:
\image html mergeelems_auto.png
- \b Name is the name of the mesh object whose elements will be
merged.
- \b Automatic or \b Manual Mode allows choosing how the elements
are processed.
- Automatic mode:
- In the \b Automatic Mode the elements created on the same nodes
will be merged.
- If the \b Manual Mode is selected, additional controls are
available:
\image html mergeelems.png
- \b Detect button generates the list of coincident elements found
in the selected object.
- Coincident elements is a list of groups of elements for
merging. After the operation all elements of each group will
be united into one element. The first element of a group is kept and
the others are removed.
- \b Remove button deletes the selected group from the list.
- \b Add button adds to the list a group of elements selected in the
viewer with pressed "Shift" key.
- Select all check-box selects all groups.
- Show double elements IDs check-box shows/hides identifiers of
elements of the selected groups in the 3D viewer.
- Edit selected group list allows editing the selected group:
\image html add.png
adds to the group the elements selected in the viewer.
\image html remove.png
removes the selected elements from the group.
\image html sort.png
moves the selected element to the first position in the
group in order to keep it in the mesh.
- To confirm your choice click \b Apply or Apply and Close button.
In this picture you see a triangle which coincides with one of the
elements of the mesh. After we apply Merge Elements functionality, the
triangle will be completely merged with the mesh.
\image html meshtrianglemergeelem1.png
See Also a sample TUI Script of a
\ref tui_merging_elements "Merge Elements" operation.
*/