code: function GridBounds(bounds) {
    // [sw, ne]
  
    this.minX = Math.min(bounds[0].x, bounds[1].x);
    this.maxX = Math.max(bounds[0].x, bounds[1].x);
    this.minY = Math.min(bounds[0].y, bounds[1].y);
    this.maxY = Math.max(bounds[0].y, bounds[1].y);
  
  }
docs: Helper class to create a bounds of INT ranges.
  @param bounds Array.<Object.<string, number>> Bounds object.
  @constructor