__tsearch__
- :
idx =__tsearch__(x, y, t, xi, yi)¶ Locate the triangles of a triangulation that enclose query points.
x and y give the vertex coordinates and each row of t lists the three vertex numbers of one triangle. For every query point
(xi(k), yi(k))the result holds the number of the first triangle containing it (boundary points count as inside, within a tolerance of about 1e-12), orNaNwhen no triangle does. The result is a column vector.