MATLAB Function Reference | ![]() ![]() |
Search for enclosing Delaunay triangle
Syntax
T = tsearch(x,y,TRI,xi,yi)
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
.
Note
tsearch is based on qhull [1]. For information about qhull , see http://www.geom.umn.edu/software/qhull/. For copyright information, see http://www.geom.umn.edu/software/download/COPYING.html.
|
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 | ![]() |