|
From: Ian T. <ia...@ge...> - 2003-08-11 16:14:30
|
The constructor for RasterSpace shown below,
public RasterSpace(double left, double bottom, double right, double top,
double cellSize, int w, int h) {
this.cellSize = cellSize;
originx = left;
originy = bottom;
termx = right;
termy = top;
height = h;
width = w;
}
needs to have
matrix = new DoubleMatrix(h, w);
added at the end.
Ian
Ian Turton, Director, Centre for Computational Geography, University of
Leeds, Leeds, LS2 9JT
http://www.geog.leeds.ac.uk/people/i.turton http://www.ccg.leeds.ac.uk
http://www.geotools.org
+44 (0) 113 343 3392 fax: +44 (0) 113 343 3308
|