The Octave Forge package repository is no longer actively maintained. Please find Octave Packages at https://packages.octave.org.

Navigation

Operators and Keywords

Function List:

C++ API

VORONOI2D Compute a voronoi diagram as a graph structure.
   
   [NODES, EDGES, FACES] = voronoi2d(GERMS)
   GERMS an array of points with dimension 2
   NODES, EDGES, FACES: usual graph representation, FACES as cell array

   Example
   [n e f] = voronoi2d(rand(100, 2)*100);
   drawGraph(n, e);

   See also

Package: matgeom