Scilab Function
Last update : 30/10/2005
delaunay - Delaunay
Triangulation
Calling Sequence
-
[MP,R,v,tri] = delaunay(u)
-
tri = delaunay(u)
Parameters
-
u
: points specified by complex vector
-
MP
: Delaunay points, given by complex vector
-
R
: hullcircle-Radius of Delaunay points
-
v
: Matrix with points belonging to a triangle. The command
"PLOT2D(REAL(ZLIST),IMAG(ZLIST))" draws the result of
triangulation
-
tri
: Matrix with Indices of the points contained in Z. Each row
describes a triangle
Description
-
when the function is called only with one output argument, the
delaunay triangulation is shown in a graphical window.
-
This function is more or less for learning tasks. A better way is
using mesh2d from the great "MetaNet"-Toolbox. This function has
problems with regular distributed points, it works fine with points of
random distribution.
Examples
p=rand(1,20,'normal') + %i .*rand(1,20,'normal');
tri=nextdrei(p);
See Also
nextdrei
,
ponci
,
Authors
-
Dr. Andreas Geissler geisslea@web.de
Used Function
ponci