Solver

public sealed class Solver

Methods

Solve_BruteForce

#
Solve the voronoi diagram using a Sorted Brute force approach. Works best with a collection of nodes which are spread along the x-direction. This function will renumber and sort the nodes.
public static List<Cell2> Solve_BruteForce(
nodes,
Nodes to solve for. This list will be renumbered and sorted.
outline
Initial boundary for every cell.
)
The voronoi cells. Order of cells is identical to the order of nodes.

Solve_Connectivity

#
Solve the voronoi diagram using a minimal connectivity map.
public static List<Cell2> Solve_Connectivity(
nodes,
Nodes to solve for.
diagram,
Connectivity diagram. Can be obtained from a Delaunay mesh.
outline
Initial boundary for every cell.
)