Deltares / Deltares/MeshKernel
Feature request: clipping mesh by (Multi)Polygon with holes
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 31
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
A GeometryList can contain a representation of a MultiPolygon or Polygon with holes. The function mkernel_mesh2d_delete now only seems to work for a Polygon without holes (a GeometryList with -999.0 or -998.0 is not processed). It would be convenient if for example a rectilinear mesh can be clipped by a Multipolygon. Now problems arise when generating a mesh with islands, or even worse, things like islands with lakes.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing mkernel_mesh2d_delete and how it consumes GeometryList representations. Verify the current handling of -999.0 and -998.0, then define completion against clipping meshes for Multipolygons and Polygons with holes, including islands and lakes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100