xugrid.Ugrid2d.locate_points#

Ugrid2d.locate_points(points: ndarray)[source]#

Find in which face points are located.

Parameters:

points (ndarray of floats with shape (n_point, 2)) –

Returns:

face_index

Return type:

ndarray of integers with shape (n_points,)