Show / Hide Table of Contents

Class VoronoiGrid

Inheritance
System.Object
DataDrivenGrid
MeshGrid
VoronoiGrid
Implements
IGrid
Inherited Members
MeshGrid.meshData
MeshGrid.is2d
MeshGrid.ComputeBounds(Cell)
MeshGrid.GetDual()
MeshGrid.GetCellCorner(Cell, CellCorner)
MeshGrid.IsPointInCell(Vector3, Cell)
MeshGrid.FindCell(Vector3, Cell)
MeshGrid.Raycast(Vector3, Vector3, Single)
MeshGrid.RaycastCell(Cell, Vector3, Vector3)
MeshGrid.FindCell(Matrix4x4, Cell, CellRotation)
MeshGrid.GetCellsIntersectsApprox(Vector3, Vector3)
MeshGrid.GetFaceIndices(Cell)
MeshGrid.GetPolygon(Cell, Vector3[], Matrix4x4)
MeshGrid.GetTriangleMesh(Cell)
MeshGrid.GetMeshData(Cell, MeshData, Matrix4x4)
MeshGrid.Is2d
MeshGrid.Is3d
MeshGrid.IsPlanar
MeshGrid.CoordinateDimension
DataDrivenGrid.GetCellTypes()
DataDrivenGrid.GetCells()
DataDrivenGrid.GetCellType(Cell)
DataDrivenGrid.IsCellInGrid(Cell)
DataDrivenGrid.TryMove(Cell, CellDir, Cell, CellDir, Connection)
DataDrivenGrid.TryMoveByOffset(Cell, Vector3Int, Vector3Int, CellRotation, Cell, CellRotation)
DataDrivenGrid.ParallelTransport(IGrid, Cell, Cell, Cell, CellRotation, Cell, CellRotation)
DataDrivenGrid.GetCellDirs(Cell)
DataDrivenGrid.GetCellCorners(Cell)
DataDrivenGrid.FindBasicPath(Cell, Cell)
DataDrivenGrid.GetIndex(Cell)
DataDrivenGrid.GetCellByIndex(Int32)
DataDrivenGrid.GetBound()
DataDrivenGrid.GetBound(IEnumerable<Cell>)
DataDrivenGrid.BoundBy(IBound)
DataDrivenGrid.IntersectBounds(IBound, IBound)
DataDrivenGrid.UnionBounds(IBound, IBound)
DataDrivenGrid.GetCellsInBounds(IBound)
DataDrivenGrid.IsCellInBound(Cell, IBound)
DataDrivenGrid.GetCellCenter(Cell)
DataDrivenGrid.GetTRS(Cell)
DataDrivenGrid.GetDeformation(Cell)
DataDrivenGrid.FindGridSymmetry(ISet<Cell>, ISet<Cell>, Cell, CellRotation)
DataDrivenGrid.TryApplySymmetry(GridSymmetry, IBound, IBound)
DataDrivenGrid.TryApplySymmetry(GridSymmetry, Cell, Cell, CellRotation)
DataDrivenGrid.Moves
DataDrivenGrid.CellData
DataDrivenGrid.IsRepeating
DataDrivenGrid.IsOrientable
DataDrivenGrid.IsFinite
DataDrivenGrid.IsSingleCellType
DataDrivenGrid.Unbounded
DataDrivenGrid.Unwrapped
DataDrivenGrid.IndexCount
Namespace: Sylves
Assembly: Sylves.dll
Syntax
public class VoronoiGrid : MeshGrid, IGrid

Constructors

VoronoiGrid(IList<Vector2>, VoronoiGridOptions)

Declaration
public VoronoiGrid(IList<Vector2> points, VoronoiGridOptions voronoiGridOptions = null)
Parameters
Type Name Description
System.Collections.Generic.IList<Vector2> points
VoronoiGridOptions voronoiGridOptions

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
Type Description
MeshData

Implements

IGrid
In This Article
Back to top Generated by DocFX