code: public GridGeometry2D getGridGeometry( CoordinateReferenceSystem crs ) {
          GridGeometry2D gridGeometry = CoverageUtilities.gridGeometryFromRegionParams(getRegionParams(), crs);
          return gridGeometry;
      }
docs: Transform the current region into a {@link GridGeometry2D}.
  
  @param crs the {@link CoordinateReferenceSystem} to apply.
  @return the gridgeometry.