comparison scripts/geometry/tsearchn.m @ 7001:8b0cfeb06365

[project @ 2007-10-10 18:02:59 by jwe]
author jwe
date Wed, 10 Oct 2007 18:03:02 +0000
parents 7911a62a300d
children 93c65f2a5668
comparison
equal deleted inserted replaced
7000:e87f860624cc 7001:8b0cfeb06365
20 ## -*- texinfo -*- 20 ## -*- texinfo -*-
21 ## @deftypefn {Function File} {[@var{idx}, @var{p}] =} tsearchn (@var{x}, @var{t}, @var{xi}) 21 ## @deftypefn {Function File} {[@var{idx}, @var{p}] =} tsearchn (@var{x}, @var{t}, @var{xi})
22 ## Searches for the enclosing Delaunay convex hull. For @code{@var{t} = 22 ## Searches for the enclosing Delaunay convex hull. For @code{@var{t} =
23 ## delaunayn (@var{x})}, finds the index in @var{t} containing the 23 ## delaunayn (@var{x})}, finds the index in @var{t} containing the
24 ## points @var{xi}. For points outside the convex hull, @var{idx} is NaN. 24 ## points @var{xi}. For points outside the convex hull, @var{idx} is NaN.
25 ## If requested @code{tsearchn} also returns the barycentric coorinates @var{p} 25 ## If requested @code{tsearchn} also returns the barycentric coordinates @var{p}
26 ## of the enclosing triangles. 26 ## of the enclosing triangles.
27 ## @seealso{delaunay, delaunayn} 27 ## @seealso{delaunay, delaunayn}
28 ## @end deftypefn 28 ## @end deftypefn
29 29
30 function [idx, p] = tsearchn (x, t, xi) 30 function [idx, p] = tsearchn (x, t, xi)