Show / Hide Table of Contents

Class VoronoiGrid

Inheritance
object
DataDrivenGrid
MeshGrid
VoronoiGrid
Implements
IGrid
Inherited Members
MeshGrid.min
MeshGrid.max
MeshGrid.meshData
MeshGrid.is2d
MeshGrid.bound
MeshGrid.ComputeBounds(Cell)
MeshGrid.GetDual()
MeshGrid.GetDiagonalGrid()
MeshGrid.GetCompactGrid()
MeshGrid.IsCellInGrid(Cell)
MeshGrid.TryMove(Cell, CellDir, out Cell, out CellDir, out Connection)
MeshGrid.GetBound()
MeshGrid.GetBound(IEnumerable<Cell>)
MeshGrid.BoundBy(IBound)
MeshGrid.IntersectBounds(IBound, IBound)
MeshGrid.UnionBounds(IBound, IBound)
MeshGrid.GetCellsInBounds(IBound)
MeshGrid.IsCellInBound(Cell, IBound)
MeshGrid.GetBoundAabb(IBound)
MeshGrid.GetCellCorner(Cell, CellCorner)
MeshGrid.IsPointInCell(Vector3, Cell)
MeshGrid.FindCell(Vector3, out Cell)
MeshGrid.Raycast(Vector3, Vector3, float)
MeshGrid.RaycastCell(Cell, Vector3, Vector3)
MeshGrid.FindCell(Matrix4x4, out Cell, out CellRotation)
MeshGrid.GetCellsIntersectsApprox(Vector3, Vector3)
MeshGrid.GetFaceIndices(Cell)
MeshGrid.GetPolygon(Cell, out Vector3[], out Matrix4x4)
MeshGrid.GetTriangleMesh(Cell)
MeshGrid.GetMeshData(Cell, out MeshData, out Matrix4x4)
MeshGrid.GetAabb(Cell)
MeshGrid.GetAabb(IEnumerable<Cell>)
MeshGrid.Is2d
MeshGrid.Is3d
MeshGrid.IsPlanar
MeshGrid.CoordinateDimension
MeshGrid.Unbounded
DataDrivenGrid.GetCellTypes()
DataDrivenGrid.Recenter(Cell)
DataDrivenGrid.GetCells()
DataDrivenGrid.GetCellType(Cell)
DataDrivenGrid.TryMoveByOffset(Cell, Vector3Int, Vector3Int, CellRotation, out Cell, out CellRotation)
DataDrivenGrid.ParallelTransport(IGrid, Cell, Cell, Cell, CellRotation, out Cell, out CellRotation)
DataDrivenGrid.GetCellDirs(Cell)
DataDrivenGrid.GetCellCorners(Cell)
DataDrivenGrid.FindBasicPath(Cell, Cell)
DataDrivenGrid.GetIndex(Cell)
DataDrivenGrid.GetCellByIndex(int)
DataDrivenGrid.GetCellCenter(Cell)
DataDrivenGrid.GetTRS(Cell)
DataDrivenGrid.GetDeformation(Cell)
DataDrivenGrid.FindGridSymmetry(ISet<Cell>, ISet<Cell>, Cell, CellRotation)
DataDrivenGrid.TryApplySymmetry(GridSymmetry, IBound, out IBound)
DataDrivenGrid.TryApplySymmetry(GridSymmetry, Cell, out Cell, out CellRotation)
DataDrivenGrid.Moves
DataDrivenGrid.CellData
DataDrivenGrid.IsRepeating
DataDrivenGrid.IsOrientable
DataDrivenGrid.IsFinite
DataDrivenGrid.IsSingleCellType
DataDrivenGrid.Unwrapped
DataDrivenGrid.IndexCount
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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
IList<Vector2> points
VoronoiGridOptions voronoiGridOptions

Methods

CreateMeshData(IList<Vector2>, VoronoiGridOptions, Func<int, bool>)

Declaration
public static MeshData CreateMeshData(IList<Vector2> points, VoronoiGridOptions voronoiGridOptions = null, Func<int, bool> mask = null)
Parameters
Type Name Description
IList<Vector2> points
VoronoiGridOptions voronoiGridOptions
Func<int, bool> mask
Returns
Type Description
MeshData

Implements

IGrid

Extension Methods

GridExtensions.FindCell(IGrid, Vector3)
GridExtensions.GetCellsIntersectsApprox(IGrid, Aabb)
GridExtensions.GetMeshData(IGrid, Cell)
GridExtensions.GetNeighbours(IGrid, Cell)
GridExtensions.GetPolygon(IGrid, Cell)
GridExtensions.Masked(IGrid, ISet<Cell>)
GridExtensions.Masked(IGrid, Func<Cell, bool>, IEnumerable<Cell>)
GridExtensions.Move(IGrid, Cell, CellDir)
GridExtensions.ToMeshData(IGrid)
GridExtensions.ToMeshData(IGrid, IEnumerable<Cell>)
GridExtensions.Transformed(IGrid, Matrix4x4)
In this article
Back to top Generated by DocFX