package ch.epfl.alpano; import ch.epfl.alpano.dem.DiscreteElevationModel; public class TestDemForPanoramaComp implements DiscreteElevationModel { private final Interval2D extent; public TestDemForPanoramaComp(Interval2D extent) { this.extent = extent; } @Override public void close() throws Exception { } @Override public Interval2D extent() { return extent; } @Override public double elevationSample(int x, int y) { return x*x-y*y; } }