C# Класс Algorithmix.Enumeration

Показать файл Открыть проект

Открытые методы

Метод Описание
Combination ( Match firstFit, Match secondFit ) : Match

Combines two Matches to give you an Aggregate If Both are Inverted or Noninverted it will return NonInverted; If Both are different it will return Inverted; If Either are Impossible it will return Impossible;

Opposite ( Direction direction ) : Direction

Determine the Opposite direction Left/Right are opposites as are Up and Down

Opposite ( Orientation orientation ) : Orientation

Deteremines the Opposite Orientation, that is if Regular, the opposite is reversed and vice versa

Описание методов

Combination() публичный статический Метод

Combines two Matches to give you an Aggregate If Both are Inverted or Noninverted it will return NonInverted; If Both are different it will return Inverted; If Either are Impossible it will return Impossible;
public static Combination ( Match firstFit, Match secondFit ) : Match
firstFit Match The first Match Type
secondFit Match The Second Match Type
Результат Match

Opposite() публичный статический Метод

Determine the Opposite direction Left/Right are opposites as are Up and Down
public static Opposite ( Direction direction ) : Direction
direction Direction Direction to be toggled
Результат Direction

Opposite() публичный статический Метод

Deteremines the Opposite Orientation, that is if Regular, the opposite is reversed and vice versa
public static Opposite ( Orientation orientation ) : Orientation
orientation Orientation Orientation to find opposite
Результат Orientation