Compute the Casulli de-refinement for a mesh.
More...
#include <CasulliDeRefinement.hpp>
Compute the Casulli de-refinement for a mesh.
◆ Compute() [1/2]
static std::unique_ptr<UndoAction> meshkernel::CasulliDeRefinement::Compute |
( |
Mesh2D & |
mesh | ) |
|
|
static |
Compute the Casulli de-refinement for the entire mesh.
- Parameters
-
[in,out] | mesh | Mesh to be de-refined |
◆ Compute() [2/2]
static std::unique_ptr<UndoAction> meshkernel::CasulliDeRefinement::Compute |
( |
Mesh2D & |
mesh, |
|
|
const Polygons & |
polygon |
|
) |
| |
|
static |
Compute the Casulli de-refinement for the part of the mesh inside the polygon.
- Parameters
-
[in,out] | mesh | Mesh to be de-refined |
[in] | polygon | Area within which the mesh will be de-refined |
◆ ElementsToDelete()
static std::vector<Point> meshkernel::CasulliDeRefinement::ElementsToDelete |
( |
const Mesh2D & |
mesh, |
|
|
const Polygons & |
polygon |
|
) |
| |
|
static |
Compute centres of elements to be deleted.
Requires that the element mass-centres are pre-computed.
The documentation for this class was generated from the following file: