BOUNDEDVORONOI2D Return a bounded voronoi diagram as a graph structure. [NODES, EDGES, FACES] = boundedVoronoi2d(BOX, GERMS) GERMS an array of points with dimension 2 NODES, EDGES, FACES: usual graph representation, FACES as cell array Example [n, e, f] = boundedVoronoi2d([0 100 0 100], rand(100, 2)*100); drawGraph(n, e); See also graphs, boundedCentroidalVoronoi2d, clipGraph, clipGraphPolygon
Package: matgeom