MATLAB Function Reference    
tsearch

Search for enclosing Delaunay triangle

Syntax

Description

T = tsearch(x,y,TRI,xi,yi) returns an index into the rows of TRI for each point in xi,yi. The tsearch command returns NaN for all points outside the convex hull. Requires a triangulation TRI of the points x,y obtained from delaunay.

See Also

delaunay, delaunayn, dsearch, tsearchn

References

[1]  National Science and Technology Research Center for Computation and Visualization of Geometric Structures (The Geometry Center), University of Minnesota. 1993.


 try tsearchn