コード例 #1
0
        public LayerCell(Layer layer, int row, int column, Pin pin = null)
        {
            Row    = row;
            Column = column;

            Links       = _links = new LayerCellLinkSet(layer, row, column);
            Neighbors   = new LayerCellNeighborSet(layer, row, column);
            Pin         = pin;
            IsValidCell = true;
        }
コード例 #2
0
 private InvalidCell()
 {
     Links     = new LayerCellLinkSet(null, -2, -2);
     Neighbors = new LayerCellNeighborSet(null, -2, -2);
 }