Class PrismInfo
Provides information about promoting a 2d cell type to a 3d cell type via extrusion.
Usually this results in NGonPrismCellType, but squares go to CubeCellType, which has additional symmetry.
Inheritance
System.Object
PrismInfo
Assembly: Sylves.dll
Syntax
public class PrismInfo : Object
Properties
BackDir
Declaration
public CellDir BackDir { get; set; }
Property Value
BaseCellType
Declaration
public ICellType BaseCellType { get; set; }
Property Value
BaseToPrismCorners
Declaration
public Dictionary<CellCorner, (CellCorner, CellCorner)> BaseToPrismCorners { get; set; }
Property Value
BaseToPrismDirs
Declaration
public Dictionary<CellDir, CellDir> BaseToPrismDirs { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<CellDir, CellDir> |
|
ForwardDir
Declaration
public CellDir ForwardDir { get; set; }
Property Value
PrismCellType
Declaration
public ICellType PrismCellType { get; set; }
Property Value
PrismToBaseCorners
Declaration
public Dictionary<CellCorner, (CellCorner, bool)> PrismToBaseCorners { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<CellCorner, System.ValueTuple<CellCorner, System.Boolean>> |
|
Methods
BaseToPrism(CellCorner, Boolean)
Declaration
public CellCorner BaseToPrism(CellCorner baseCorner, bool isForward)
Parameters
Type |
Name |
Description |
CellCorner |
baseCorner |
|
System.Boolean |
isForward |
|
Returns
BaseToPrism(CellDir)
Declaration
public CellDir BaseToPrism(CellDir baseDir)
Parameters
Type |
Name |
Description |
CellDir |
baseDir |
|
Returns
Get(ICellType)
Declaration
public static PrismInfo Get(ICellType baseCellType)
Parameters
Returns