You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the solution you'd like
Hard to say whether this is critical, but in complex geometries of regional water courses it would be good to be able to clip the boundary as accurately as possible (they can be quite narrow). So I suggest to either investigate whether it is possible to reproduce the old behaviour or re-introduce the old deletemeshoption in meshkernel.
The text was updated successfully, but these errors were encountered:
@RuudHurkmans: meshkernelpy 4.1.0 has an additional DeleteMeshOption called FACES_WITH_INCLUDED_CIRCUMCENTERS. This deletes all cells of which the circumcenters are inside the polygon. This was also available in meshkernel<3..0.0 under a slightly different name (ALL_FACE_CIRCUMCENTERS). The result is the following:
This version of meshkernel will be supported in the next release of HYDROLIB-core, which I expect this week. If you want to test it already, you can use the main branch since #610 has already been merged.
Problem
When clipping to a polygon the old behaviour of clipping to the exact boundar of a polygon is not possible anymore.
The code below plots a mesh with a polygon clipped out of it. Depending on the DMO the behaviour is different.
dmo = mk.DeleteMeshOption.INSIDE_NOT_INTERSECTED
dmo = mk.DeleteMeshOption.INSIDE_AND_INTERSECTED
Both are not the behavirour of the old version with dmo = ALL_FACE_CIRCUMCENTERS:
(in this image a multipolygon was used, but the effect is the same)
** Code used to reproduce these images**
Describe the solution you'd like
Hard to say whether this is critical, but in complex geometries of regional water courses it would be good to be able to clip the boundary as accurately as possible (they can be quite narrow). So I suggest to either investigate whether it is possible to reproduce the old behaviour or re-introduce the old deletemeshoption in meshkernel.
The text was updated successfully, but these errors were encountered: