Revision 5517 org.gvsig.raster/branches/org.gvsig.raster.2.4/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.buffer/org.gvsig.raster.lib.buffer.impl/src/main/java/org/gvsig/raster/lib/buffer/impl/DefaultBuffer.java
DefaultBuffer.java | ||
---|---|---|
193 | 193 |
|
194 | 194 |
@Override |
195 | 195 |
public void addBand(Band band) { |
196 |
|
|
196 |
|
|
197 | 197 |
if(band.getColumns() != this.getColumns() || band.getRows() != this.getRows()){ |
198 | 198 |
throw new IllegalArgumentException( |
199 | 199 |
"Can not add band to buffer. Band must have the same rows and columns as buffer."); |
200 | 200 |
} |
201 |
|
|
201 |
|
|
202 | 202 |
this.bands.add(band); |
203 | 203 |
} |
204 | 204 |
|
... | ... | |
307 | 307 |
@Override |
308 | 308 |
public Buffer convert(ICoordTrans ct, SimpleTaskStatus status) { |
309 | 309 |
|
310 |
for (Band band : bands) { |
|
311 |
band.convert(ct); |
|
312 |
|
|
313 |
} |
|
310 |
// for (Band band : bands) {
|
|
311 |
// band.convert(ct);
|
|
312 |
// |
|
313 |
// }
|
|
314 | 314 |
// TODO Auto-generated method stub |
315 | 315 |
return null; |
316 | 316 |
} |
Also available in: Unified diff