Deltares / numba_celltree

Celltree data structure for searching for points, lines, boxes, and cells (convex polygons) in a two dimensional unstructured mesh.
https://deltares.github.io/numba_celltree/
MIT License
11 stars 3 forks source link

Documentation of ``intersect_edges`` not up to date #7

Closed JoerivanEngelen closed 3 months ago

JoerivanEngelen commented 1 year ago

At present, it is stated that the method intersect_edges returns the following three things:

See docs here

However, when debugging the code xugrid, I noticed that the third array returned, has the shape of (n_found, 2, 2). This is by definition.

It thus seemed to me like it is not returning a length anymore, but pairs of points? In the xugrid code this is called intersection_edges. See code in xugrid.