cellPolygons method
Returns an iterable of all Voronoi cell polygons. Each polygon is a list of points forming the cell boundary.
Implementation
Iterable<List<Point>> cellPolygons() sync* {
for (int i = 0; i < cellCount; i++) {
final polygon = cellPolygon(i);
if (polygon != null) {
yield polygon;
}
}
}