Optionalface: FOptionalseeds: Bit.Inputs.Base.Point3[]Optionalweights: number[]Optionaloutput: voronoiCells2dOutputEnumOptionalwalls: booleanOptionaloutsideSeeds: voronoiOutsideSeedsEnumOptionalcoincidentSeeds: voronoiCoincidentSeedsEnumThe planar face the cells fill. Its edges may be curved and it may have holes; a face that is not planar is refused.
The points the cells grow from, one cell a seed. Seeds off the face's plane are projected onto it along its normal.
OptionalweightsOne weight a seed, in squared model units, making power cells: a heavier seed's cell grows, and one far outweighed may have none. Left empty, all weigh the same.
OptionaloutputWhether to build one face a cell, or the cells' edges with each edge two cells share made once.
OptionalwallsWith edges, whether to also build the pieces of the face's boundary that close the cells. Faces
come out the same either way.
OptionaloutsideWhat to do with a seed outside the face: refuse it, or drop it and report its cell as dropped.
OptionalcoincidentWhat to do with seeds that coincide, or for edges lie closer than a millionth of the face's
diagonal: refuse them, or merge each into the first of them.
A planar face and seeds for
patterns.voronoi.cells2dandpatterns.voronoi.cells2dWithReport, which split the face into the seeds' Voronoi cells, as faces or as edges.