Deltares / xugrid

Xarray and unstructured grids
https://deltares.github.io/xugrid/
MIT License
64 stars 8 forks source link

Move snap_to_edges to numba_celltree #65

Closed Huite closed 2 months ago

Huite commented 1 year ago

It might make more sense to move the "low-level" geometry algorithms to numba_celltree.

The snapping might also be a case where robust predicates (https://github.com/Deltares/numba_celltree/issues/5) are especially relevant.

Huite commented 2 months ago

Some snapping method use scipy KDTree. The geodataframe form is also quite convenient, so we'll keep it here for now.