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.
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 calledintersection_edges
. See code in xugrid.