Show / Hide Table of Contents

Class PlanarMeshGrid

Specialization of MeshGrid specifically for planar meshes.

Inheritance
object
DataDrivenGrid
MeshGrid
PlanarMeshGrid
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.FindCell(Vector3, out Cell)
MeshGrid.Raycast(Vector3, Vector3, float)
MeshGrid.RaycastCell(Cell, Vector3, Vector3)
MeshGrid.FindCell(Matrix4x4, out Cell, out CellRotation)
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 PlanarMeshGrid : MeshGrid, IGrid

Constructors

PlanarMeshGrid(MeshData, MeshGridOptions)

Declaration
public PlanarMeshGrid(MeshData meshData, MeshGridOptions meshGridOptions = null)
Parameters
Type Name Description
MeshData meshData
MeshGridOptions meshGridOptions

Methods

GetCellsIntersectsApprox(Vector3, Vector3)

Gets the set of cells that potentially overlap bounds.

Declaration
public override IEnumerable<Cell> GetCellsIntersectsApprox(Vector3 min, Vector3 max)
Parameters
Type Name Description
Vector3 min
Vector3 max
Returns
Type Description
IEnumerable<Cell>
Overrides
MeshGrid.GetCellsIntersectsApprox(Vector3, Vector3)

IsPointInCell(Vector3, Cell)

Declaration
protected override bool IsPointInCell(Vector3 position, Cell cell)
Parameters
Type Name Description
Vector3 position
Cell cell
Returns
Type Description
bool
Overrides
MeshGrid.IsPointInCell(Vector3, Cell)

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