Skip to content
Shapemetry

Model - Voronoi

API reference for src/schema/domains/voronoi on @huukhanhnguyen/model, reachable from ./compute.

See the Guide for the ModelJSON / evaluate pipeline.

API reference

Signatures are generated from the live package .d.ts - not hand-written.

KernelCell

type

VoronoiCell[] as the kernel writes it — [x, y] is a Point2dJSON.

type KernelCell
// = {
    polygon: [number, number][];
    index: number;
}
Last updated: 📖 1 min readEdit on GitHub