class InterpolatedNodalSurface implements NodalSurface, ImmutableBean, Serializable {

  public static InterpolatedNodalSurface of(
      SurfaceMetadata metadata,
      DoubleArray xValues,
      DoubleArray yValues,
      DoubleArray zValues,
      SurfaceInterpolator interpolator) {

    return new InterpolatedNodalSurface(metadata, xValues, yValues, zValues, interpolator);
  }

  @ImmutableConstructor private  InterpolatedNodalSurface(
      SurfaceMetadata metadata,
      DoubleArray xValues,
      DoubleArray yValues,
      DoubleArray zValues,
      SurfaceInterpolator interpolator);
  private  InterpolatedNodalSurface(
      SurfaceMetadata metadata,
      DoubleArray xValues,
      DoubleArray yValues,
      DoubleArray zValues,
      SurfaceInterpolator interpolator,
      boolean sort);

}