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
object
PrismInfo
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Sylves
Assembly: Sylves.dll
Syntax
public class PrismInfo

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 Back, CellCorner Forward)> BaseToPrismCorners { get; set; }
Property Value
Type Description
Dictionary<CellCorner, (CellCorner Back, CellCorner Forward)>

BaseToPrismDirs

Declaration
public Dictionary<CellDir, CellDir> BaseToPrismDirs { get; set; }
Property Value
Type Description
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 Corner, bool IsForward)> PrismToBaseCorners { get; set; }
Property Value
Type Description
Dictionary<CellCorner, (CellCorner Corner, bool IsForward)>

Methods

BaseToPrism(CellCorner, bool)

Declaration
public CellCorner BaseToPrism(CellCorner baseCorner, bool isForward)
Parameters
Type Name Description
CellCorner baseCorner
bool 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