voronoiDiagram
(Not recommended) Voronoi diagram of Delaunay triangulation
voronoiDiagram(DelaunayTri)
is not recommended. Use voronoiDiagram(delaunayTriangulation)
instead.
DelaunayTri
is not recommended. Use delaunayTriangulation
instead.
Description
[
returns the vertices V
,R
] = voronoiDiagram(DT
)V
and regions R
of the Voronoi
diagram of the points DT.X
. The region R{i}
is a cell
array of indices into V
that represents the Voronoi vertices bounding the
region. The Voronoi region associated with the i
'th point,
DT.X(i)
is R{i}
. For 2-D, vertices in
R{i}
are listed in adjacent order, i.e. connecting them will generate a
closed polygon (Voronoi diagram). For 3-D the vertices in R{i}
are listed
in ascending order.
The Voronoi regions associated with points that lie on the convex hull of
DT.X
are unbounded. Bounding edges of these regions radiate to
infinity. The vertex at infinity is represented by the first vertex in
V
.
Examples
Input Arguments
Output Arguments
More About
Extended Capabilities
Version History
Introduced in R2009a