Example #1
0
        public TcTileAreaBlock(TcRectangle prmArea)
        {
            Area       = new TcTileGrid(prmArea.UpperLeftX, prmArea.UpperLeftY, prmArea.LowerRightX, prmArea.LowerRightY);
            FileBlocks = new HashSet <TcTileFileBlock>();

            Index      = -1;
            OutputFile = String.Empty;
        }
Example #2
0
        public override bool Equals(object obj)
        {
            if (obj == null || GetType() != obj.GetType())
            {
                return(false);
            }

            if (ReferenceEquals(this, obj))
            {
                return(true);
            }

            TcTileGrid rhs = obj as TcTileGrid;

            return(base.Equals(obj) && Row == rhs.Row && Col == rhs.Col);
        }
Example #3
0
 public TcTileGrid(TcTileGrid prmTileGrid)
     : base(prmTileGrid)
 {
     Row = prmTileGrid.Row;
     Col = prmTileGrid.Col;
 }
Example #4
0
        //-----------------------------------------------------------------------------

        public TcTileAreaBlock(TcTileGrid prmArea)
            : this(prmArea as TcRectangle)
        {
            Area.Row = prmArea.Row;
            Area.Col = prmArea.Col;
        }