C# Class Voronoi.Algorithms.BowyerWatsonGenerator

Helper class for generating a Voronoi Diagram using the Bowyer Watson algorithm
Mostra file Open project: TobieD/City-Generator Class Usage Examples

Public Properties

Property Type Description
_cellEdgePoints List

Public Methods

Method Description
DelaunayTriangulation ( IList points ) : List

Create Delaunay Triangulation of a given list of points

GetVoronoi ( List points ) : VoronoiDiagram

Private Methods

Method Description
CreateVoronoiCells ( List lines ) : List

Create a voronoi diagram in cell format

CreateVoronoiLines ( List triangles ) : List

Create voronoi diagram in lines

Method Details

DelaunayTriangulation() public method

Create Delaunay Triangulation of a given list of points
public DelaunayTriangulation ( IList points ) : List
points IList
return List

GetVoronoi() public method

public GetVoronoi ( List points ) : VoronoiDiagram
points List
return VoronoiDiagram

Property Details

_cellEdgePoints public_oe property

all points that will make cells
public List _cellEdgePoints
return List