Search Results for

    Show / Hide Table of Contents

    Struct ParticlePinGraphicState.PinDef

    The definition of a single pin. Contains directions, id and if this pin is in the head of the particle.

    Namespace: AS2.Visuals
    Assembly: .dll
    Syntax
    public struct ParticlePinGraphicState.PinDef

    Constructors

    | Edit this page View Source

    PinDef(int, int, bool)

    Declaration
    public PinDef(int globalDir, int dirID, bool isHead)
    Parameters
    Type Name Description
    int globalDir
    int dirID
    bool isHead

    Fields

    | Edit this page View Source

    dirID

    Local edge index of the pin. Values are 0,...,n-1, where n is the number of pins per edge.

    Declaration
    public int dirID
    Field Value
    Type Description
    int
    | Edit this page View Source

    globalDir

    Global direction of the edge on which the pin is located. Values are 0,...,5 with 0 being East and values increasing in counter-clockwise direction.

    Declaration
    public int globalDir
    Field Value
    Type Description
    int
    | Edit this page View Source

    isHead

    true if the pin belongs to a contracted particle or the head of an expanded particle, false if the pin is on the tail of an expanded particle.

    Declaration
    public bool isHead
    Field Value
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top AmoebotSim 2.0 Documentation v1.11
    Copyright © 2025 AmoebotSim 2.0 Authors
    Generated by DocFX