Show / Hide Table of Contents

Interface IDualMapping

Namespace: Sylves
Assembly: Sylves.dll
Syntax
public interface IDualMapping

Properties

BaseGrid

The grid this mapping was constructed from.

Declaration
IGrid BaseGrid { get; }
Property Value
Type Description
IGrid

DualGrid

The dual grid to map to.

Declaration
IGrid DualGrid { get; }
Property Value
Type Description
IGrid

Methods

ToBasePair(Cell, CellCorner)

Finds the corresponding base cell to a corner of a dual cell, and the corner of the base cell that returns back.

Declaration
(Cell baseCell, CellCorner inverseCorner)? ToBasePair(Cell dualCell, CellCorner corner)
Parameters
Type Name Description
Cell dualCell
CellCorner corner
Returns
Type Description
(Cell dualCell, CellCorner inverseCorner)?

ToDualPair(Cell, CellCorner)

Finds the corresponding dual cell to a corner of a base cell, and the corner of the dual cell that returns back.

Declaration
(Cell dualCell, CellCorner inverseCorner)? ToDualPair(Cell baseCell, CellCorner corner)
Parameters
Type Name Description
Cell baseCell
CellCorner corner
Returns
Type Description
(Cell dualCell, CellCorner inverseCorner)?

Extension Methods

DualMappingExtensions.BaseNeighbourCells(IDualMapping, Cell)
DualMappingExtensions.BaseNeighbours(IDualMapping, Cell)
DualMappingExtensions.DualNeighbourCells(IDualMapping, Cell)
DualMappingExtensions.DualNeighbours(IDualMapping, Cell)
DualMappingExtensions.Reversed(IDualMapping)
DualMappingExtensions.ToBaseCell(IDualMapping, Cell, CellCorner)
DualMappingExtensions.ToDualCell(IDualMapping, Cell, CellCorner)
In this article
Back to top Generated by DocFX