Optionalshape: TOptionalseeds: Bit.Inputs.Base.Point3[]Optionalweights: number[]OptionaloutsideSeeds: voronoiOutsideSeedsEnumOptionalcoincidentSeeds: voronoiCoincidentSeedsEnumThe convex solid the cells fill, such as a box; a solid that is not convex of planar faces is refused.
The points the cells grow from, one cell a seed, each inside the solid.
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.
OptionaloutsideWhat to do with a seed outside the solid: refuse it, or drop it and report its cell as dropped.
OptionalcoincidentWhat to do with seeds closer than a hundred-thousandth of the solid's box diagonal: refuse them, or merge each into the first.
A convex solid and seeds for
patterns.voronoi.compSolid, which builds the seeds' Voronoi cells as one compsolid whose cells share every face they meet along.