Show / Hide Table of Contents

Struct TriangleRotation

Represents rotations / reflections of a hexagon

Note

This class is available only in Tessera Pro

Inherited Members
ValueType.ToString()
Namespace: Tessera
Assembly: cs.temp.dll.dll
Syntax
public struct TriangleRotation

Properties

All

Declaration
public static TriangleRotation[] All { get; }
Property Value
Type Description
TriangleRotation[]

Identity

Declaration
public static TriangleRotation Identity { get; }
Property Value
Type Description
TriangleRotation

IsReflection

Declaration
public bool IsReflection { get; }
Property Value
Type Description
Boolean

ReflectX

Declaration
public static TriangleRotation ReflectX { get; }
Property Value
Type Description
TriangleRotation

ReflectY

Declaration
public static TriangleRotation ReflectY { get; }
Property Value
Type Description
TriangleRotation

RotateCCW

Declaration
public static TriangleRotation RotateCCW { get; }
Property Value
Type Description
TriangleRotation

RotateCW

Declaration
public static TriangleRotation RotateCW { get; }
Property Value
Type Description
TriangleRotation

Rotation

Declaration
public int Rotation { get; }
Property Value
Type Description
Int32

Methods

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
ValueType.Equals(Object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
ValueType.GetHashCode()

Invert()

Declaration
public TriangleRotation Invert()
Returns
Type Description
TriangleRotation

RotateCCW60(Int32)

Declaration
public static TriangleRotation RotateCCW60(int i)
Parameters
Type Name Description
Int32 i
Returns
Type Description
TriangleRotation

Operators

Equality(TriangleRotation, TriangleRotation)

Declaration
public static bool operator ==(TriangleRotation a, TriangleRotation b)
Parameters
Type Name Description
TriangleRotation a
TriangleRotation b
Returns
Type Description
Boolean

Implicit(CellRotation to TriangleRotation)

Declaration
public static implicit operator TriangleRotation(CellRotation r)
Parameters
Type Name Description
CellRotation r
Returns
Type Description
TriangleRotation

Implicit(TriangleRotation to CellRotation)

Declaration
public static implicit operator CellRotation(TriangleRotation r)
Parameters
Type Name Description
TriangleRotation r
Returns
Type Description
CellRotation

Inequality(TriangleRotation, TriangleRotation)

Declaration
public static bool operator !=(TriangleRotation a, TriangleRotation b)
Parameters
Type Name Description
TriangleRotation a
TriangleRotation b
Returns
Type Description
Boolean

Multiply(TriangleRotation, Int32)

Declaration
public static int operator *(TriangleRotation a, int side)
Parameters
Type Name Description
TriangleRotation a
Int32 side
Returns
Type Description
Int32

Multiply(TriangleRotation, TrianglePrismFaceDir)

Declaration
public static TrianglePrismFaceDir operator *(TriangleRotation rotation, TrianglePrismFaceDir faceDir)
Parameters
Type Name Description
TriangleRotation rotation
TrianglePrismFaceDir faceDir
Returns
Type Description
TrianglePrismFaceDir

Multiply(TriangleRotation, TriangleRotation)

Declaration
public static TriangleRotation operator *(TriangleRotation a, TriangleRotation b)
Parameters
Type Name Description
TriangleRotation a
TriangleRotation b
Returns
Type Description
TriangleRotation
Back to top Generated by DocFX