# Maths.Voronoi2d class

Namespace: [Grasshopper2](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public static class Maths.Voronoi2d
```

Planar Voronoi diagrams of weighted point sites (RH-79405), through RHC_GH2_WeightedVoronoi2d. The weighted distance from site i is (t*A_i + 1 - t) * |x - r_i| + (1 - t) * B_i: t = 0 is purely additive (hyperbolic arcs), t = 1 purely multiplicative (circular arcs).

## Methods

- [Compute](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.voronoi2d/compute.md): (static) Compute the weighted Voronoi diagram of a set of sites.
