Show / Hide Table of Contents

Class CubiusGrid

A torus with a quarter turn. Demonstrates how Sylves handles non-orientability on 3d surfaces.

Inheritance
object
DataDrivenGrid
MeshGrid
MeshPrismGrid
CubiusGrid
Implements
IGrid
Inherited Members
MeshPrismGrid.BoundBy(IBound)
MeshPrismGrid.GetDual()
MeshPrismGrid.GetDiagonalGrid()
MeshPrismGrid.RaycastCell(Cell, Vector3, Vector3)
MeshPrismGrid.IsPointInCell(Vector3, Cell)
MeshPrismGrid.GetTriangleMesh(Cell)
MeshPrismGrid.GetMeshData(Cell, out MeshData, out Matrix4x4)
MeshPrismGrid.GetCellMesh(Cell, out MeshData, out TRS, out ILookup<CellDir, int>)
MeshPrismGrid.ComputeBounds(Cell)
MeshPrismGrid.Unbounded
MeshGrid.min
MeshGrid.max
MeshGrid.meshData
MeshGrid.is2d
MeshGrid.bound
MeshGrid.GetCompactGrid()
MeshGrid.IsCellInGrid(Cell)
MeshGrid.TryMove(Cell, CellDir, out Cell, out CellDir, out Connection)
MeshGrid.GetBound()
MeshGrid.GetBound(IEnumerable<Cell>)
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.FindCell(Matrix4x4, out Cell, out CellRotation)
MeshGrid.GetCellsIntersectsApprox(Vector3, Vector3)
MeshGrid.GetFaceIndices(Cell)
MeshGrid.GetPolygon(Cell, out Vector3[], out Matrix4x4)
MeshGrid.GetAabb(Cell)
MeshGrid.GetAabb(IEnumerable<Cell>)
MeshGrid.Is2d
MeshGrid.Is3d
MeshGrid.IsPlanar
MeshGrid.CoordinateDimension
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 CubiusGrid : MeshPrismGrid, IGrid

Constructors

CubiusGrid(int, int, float, float)

Declaration
public CubiusGrid(int width, int height, float outerRadius = 10, float innerRadius = 3)
Parameters
Type Name Description
int width
int height
float outerRadius
float innerRadius

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