Show / Hide Table of Contents

Class XZModifier

Converts a IGrid based in the XY plane to one in the XZ plane. It does this by rotating Y+ to Z- (and Z+ to Y+). This is different from a transform in that it doesn't rotate the cells, it applies XZCellModifier to them.

Inheritance
System.Object
BaseModifier
TransformModifier
XZModifier
XZHexPrismGrid
XZTrianglePrismGrid
Implements
IGrid
Inherited Members
TransformModifier.GetDual()
TransformModifier.GetCellCenter(Cell)
TransformModifier.GetCellCorner(Cell, CellCorner)
TransformModifier.GetDeformation(Cell)
TransformModifier.GetPolygon(Cell, Vector3[], Matrix4x4)
TransformModifier.GetTriangleMesh(Cell)
TransformModifier.GetMeshData(Cell, MeshData, Matrix4x4)
TransformModifier.FindCell(Vector3, Cell)
TransformModifier.GetCellsIntersectsApprox(Vector3, Vector3)
TransformModifier.Raycast(Vector3, Vector3, Single)
TransformModifier.Transform
BaseModifier.GetCells()
BaseModifier.IsCellInGrid(Cell)
BaseModifier.TryMove(Cell, CellDir, Cell, CellDir, Connection)
BaseModifier.TryMoveByOffset(Cell, Vector3Int, Vector3Int, CellRotation, Cell, CellRotation)
BaseModifier.GetCellDirs(Cell)
BaseModifier.GetCellCorners(Cell)
BaseModifier.FindBasicPath(Cell, Cell)
BaseModifier.GetIndex(Cell)
BaseModifier.GetCellByIndex(Int32)
BaseModifier.GetBound()
BaseModifier.GetBound(IEnumerable<Cell>)
BaseModifier.BoundBy(IBound)
BaseModifier.IntersectBounds(IBound, IBound)
BaseModifier.UnionBounds(IBound, IBound)
BaseModifier.GetCellsInBounds(IBound)
BaseModifier.IsCellInBound(Cell, IBound)
BaseModifier.FindGridSymmetry(ISet<Cell>, ISet<Cell>, Cell, CellRotation)
BaseModifier.TryApplySymmetry(GridSymmetry, IBound, IBound)
BaseModifier.TryApplySymmetry(GridSymmetry, Cell, Cell, CellRotation)
BaseModifier.Is2d
BaseModifier.Is3d
BaseModifier.IsPlanar
BaseModifier.IsRepeating
BaseModifier.IsOrientable
BaseModifier.IsFinite
BaseModifier.IsSingleCellType
BaseModifier.CoordinateDimension
BaseModifier.Unbounded
BaseModifier.Unwrapped
BaseModifier.Underlying
BaseModifier.IndexCount
Namespace: Sylves
Assembly: Sylves.dll
Syntax
public class XZModifier : TransformModifier, IGrid

Constructors

XZModifier(IGrid)

Declaration
public XZModifier(IGrid underlying)
Parameters
Type Name Description
IGrid underlying

Methods

FindCell(Matrix4x4, out Cell, out CellRotation)

Declaration
public override bool FindCell(Matrix4x4 matrix, out Cell cell, out CellRotation rotation)
Parameters
Type Name Description
Matrix4x4 matrix
Cell cell
CellRotation rotation
Returns
Type Description
System.Boolean
Overrides
TransformModifier.FindCell(Matrix4x4, out Cell, out CellRotation)

GetCellType(Cell)

Declaration
public override ICellType GetCellType(Cell cell)
Parameters
Type Name Description
Cell cell
Returns
Type Description
ICellType
Overrides
BaseModifier.GetCellType(Cell)

GetCellTypes()

Declaration
public override IEnumerable<ICellType> GetCellTypes()
Returns
Type Description
System.Collections.Generic.IEnumerable<ICellType>
Overrides
BaseModifier.GetCellTypes()

GetTRS(Cell)

Declaration
public override TRS GetTRS(Cell cell)
Parameters
Type Name Description
Cell cell
Returns
Type Description
TRS
Overrides
TransformModifier.GetTRS(Cell)

ParallelTransport(IGrid, Cell, Cell, Cell, CellRotation, out Cell, out CellRotation)

Declaration
public override bool ParallelTransport(IGrid aGrid, Cell aSrcCell, Cell aDestCell, Cell srcCell, CellRotation startRotation, out Cell destCell, out CellRotation destRotation)
Parameters
Type Name Description
IGrid aGrid
Cell aSrcCell
Cell aDestCell
Cell srcCell
CellRotation startRotation
Cell destCell
CellRotation destRotation
Returns
Type Description
System.Boolean
Overrides
BaseModifier.ParallelTransport(IGrid, Cell, Cell, Cell, CellRotation, out Cell, out CellRotation)

Rebind(IGrid)

Declaration
protected override IGrid Rebind(IGrid underlying)
Parameters
Type Name Description
IGrid underlying
Returns
Type Description
IGrid
Overrides
TransformModifier.Rebind(IGrid)

Implements

IGrid
In This Article
Back to top Generated by DocFX