Show / Hide Table of Contents

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
Namespace: Sylves
Assembly: Sylves.dll
Syntax
public class PrismInfo : Object

Properties

BackDir

Declaration
public CellDir BackDir { get; set; }
Property Value
Type Description
CellDir

BaseCellType

Declaration
public ICellType BaseCellType { get; set; }
Property Value
Type Description
ICellType

BaseToPrismCorners

Declaration
public Dictionary<CellCorner, (CellCorner, CellCorner)> BaseToPrismCorners { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<CellCorner, System.ValueTuple<CellCorner, CellCorner>>

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
Type Description
CellDir

PrismCellType

Declaration
public ICellType PrismCellType { get; set; }
Property Value
Type Description
ICellType

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
Type Description
CellCorner

BaseToPrism(CellDir)

Declaration
public CellDir BaseToPrism(CellDir baseDir)
Parameters
Type Name Description
CellDir baseDir
Returns
Type Description
CellDir

Get(ICellType)

Declaration
public static PrismInfo Get(ICellType baseCellType)
Parameters
Type Name Description
ICellType baseCellType
Returns
Type Description
PrismInfo
In This Article
Back to top Generated by DocFX