class GridSurfaceInterpolator implements SurfaceInterpolator, ImmutableBean, Serializable {

  public static GridSurfaceInterpolator of(CurveInterpolator xInterpolator, CurveInterpolator yInterpolator) {
    return new GridSurfaceInterpolator(xInterpolator, FLAT, FLAT, yInterpolator, FLAT, FLAT);
  }

  private  GridSurfaceInterpolator(
      CurveInterpolator xInterpolator,
      CurveExtrapolator xExtrapolatorLeft,
      CurveExtrapolator xExtrapolatorRight,
      CurveInterpolator yInterpolator,
      CurveExtrapolator yExtrapolatorLeft,
      CurveExtrapolator yExtrapolatorRight);

}