Class VoronoiGrid
Inheritance
System.Object
VoronoiGrid
Assembly: Sylves.dll
Syntax
public class VoronoiGrid : MeshGrid, IGrid
Constructors
VoronoiGrid(IList<Vector2>, VoronoiGridOptions)
Declaration
public VoronoiGrid(IList<Vector2> points, VoronoiGridOptions voronoiGridOptions = null)
Parameters
Methods
CreateMeshData(IList<Vector2>, VoronoiGridOptions, Func<Int32, Boolean>)
Declaration
public static MeshData CreateMeshData(IList<Vector2> points, VoronoiGridOptions voronoiGridOptions = null, Func<int, bool> mask = null)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<Vector2> |
points |
|
VoronoiGridOptions |
voronoiGridOptions |
|
System.Func<System.Int32, System.Boolean> |
mask |
|
Returns
Implements