Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Sealed class: RT.KitchenSink.Geometry.VoronoiDiagram

Summary

Represents a Voronoi diagram.

Constructors

Creates a new instance of VoronoiDiagram.

Static methods

VoronoiDiagram
GenerateVoronoiDiagram(PointD[] sites, double width, double height, VoronoiDiagramFlags flags = 0x0)
Generates a Voronoi diagram from a set of input points.

Instance fields

List<ValueTuple<EdgeD, int, int>>Edges of the diagram, along with the sites that generated each edge.
PolygonD[] Polygons corresponding to each of the input points. The order of polygons in this array matches the order of the input sites exactly. Depending on VoronoiDiagramFlags, this array contains nulls for sites that were filtered out, as well as sites that correspond to un-closed semi-polygons around the outside of the diagram.