MeshKernel
Public Member Functions | List of all members
meshkernel::RemoveDisconnectedRegions Class Referencefinal

Removes any small regions that are disconnected from the main part of the domain. More...

#include <RemoveDisconnectedRegions.hpp>

Public Member Functions

std::unique_ptr< UndoAction > Compute (Mesh2D &mesh) const
 Remove the disconnected regions.
 

Detailed Description

Removes any small regions that are disconnected from the main part of the domain.

Note
The assumption is that the main region of interest will contain the largest number of elements. The element of any other disconnected region (having fewer elements) will be removed. Element connectivity is across shared edges, so elements that share only a single corner node are not considered to be connected.

The documentation for this class was generated from the following file: