VoronoiToTissue | Cellzilla2D Home |

Description

Generates a tissue based on a constrained Voronoi diagram. The constraint must be a convex polygon that contains that contains all of the vertices.

Needs["Cellzilla2D`"];

Return Value

VoronoiToTissue[points, polygon] where points is a list of Voronoi centers {{x1, y1}, {x2, y2}, ...} and polygon is a list of vertices that enclose of the Voronoi center. The polygon also has the form {{x1, y1}, {x2, y2}, ...} but must be convex.

Options

Example

[ Download Example as Zipped Mathematica Notebook ]

Implementation Notes

See Also