Search Results for

    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: Tessera.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
    bool

    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
    int

    Methods

    Equals(object)

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

    GetHashCode()

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

    Invert()

    Declaration
    public TriangleRotation Invert()
    Returns
    Type Description
    TriangleRotation

    RotateCCW60(int)

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

    Operators

    operator ==(TriangleRotation, TriangleRotation)

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

    implicit operator TriangleRotation(CellRotation)

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

    implicit operator CellRotation(TriangleRotation)

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

    operator !=(TriangleRotation, TriangleRotation)

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

    operator *(TriangleRotation, int)

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

    operator *(TriangleRotation, TrianglePrismFaceDir)

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

    operator *(TriangleRotation, TriangleRotation)

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