public TcTileAreaBlock(TcRectangle prmArea) { Area = new TcTileGrid(prmArea.UpperLeftX, prmArea.UpperLeftY, prmArea.LowerRightX, prmArea.LowerRightY); FileBlocks = new HashSet <TcTileFileBlock>(); Index = -1; OutputFile = String.Empty; }
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); }
public TcTileGrid(TcTileGrid prmTileGrid) : base(prmTileGrid) { Row = prmTileGrid.Row; Col = prmTileGrid.Col; }
//----------------------------------------------------------------------------- public TcTileAreaBlock(TcTileGrid prmArea) : this(prmArea as TcRectangle) { Area.Row = prmArea.Row; Area.Col = prmArea.Col; }