MATLAB Function Reference |
Syntax
K = convhull(x,y) K = convhull(x,y,TRI)
Description
K = convhull(x,y)
傳回向量 x
和 y
凸面外殼(convex hull)的索引點。
K = convhull(x,y,TRI)
使用(由 delaunay
得到的)三角測量(triangulation),而不是每次都重新計算。
Examples
xx = -1:.05:1; yy = abs(sqrt(xx)); [x,y] = pol2cart(xx,yy); k = convhull(x,y); plot(x(k),y(k),'r-',x,y,'b+')
See Also
convhull
, delaunay
, polyarea
, voronoi
conv2 | convhulln |