GridNode constructor

GridNode(
  1. AbstractGeoRaster _raster,
  2. int _col,
  3. int _row
)

Implementation

GridNode(this._raster, this._col, this._row) {
  if (_col == 0 ||
      _row == 0 ||
      _col == _raster.geoInfo!.cols! - 1 ||
      _row == _raster.geoInfo!.rows! - 1) {
    _touchesBound = true;
  }
}