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
XZModifier
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
Returns
Type |
Description |
System.Boolean |
|
Overrides
GetCellType(Cell)
Declaration
public override ICellType GetCellType(Cell cell)
Parameters
Type |
Name |
Description |
Cell |
cell |
|
Returns
Overrides
GetCellTypes()
Declaration
public override IEnumerable<ICellType> GetCellTypes()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<ICellType> |
|
Overrides
GetTRS(Cell)
Declaration
public override TRS GetTRS(Cell cell)
Parameters
Type |
Name |
Description |
Cell |
cell |
|
Returns
Overrides
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
Returns
Type |
Description |
System.Boolean |
|
Overrides
Rebind(IGrid)
Declaration
protected override IGrid Rebind(IGrid underlying)
Parameters
Type |
Name |
Description |
IGrid |
underlying |
|
Returns
Overrides
Implements