12 |
publicity makes it readable from using context, publicity makes |
publicity makes it readable from using context, publicity makes |
13 |
it also directly writable. Currently writing directly into the |
it also directly writable. Currently writing directly into the |
14 |
attribute from the context is the only way to change raster's reading |
attribute from the context is the only way to change raster's reading |
15 |
depth. |
depth. Although, writing directly into the attribute is |
16 |
|
deprecated. |
17 |
|
|
18 |
We could avoid this and use the depth attribute read only as the |
Issues |
19 |
other attributes in raster's by making it a new parameter for |
------ |
20 |
``BFRaster.read()``. |
|
21 |
|
We could avoid direct writing and use the depth attribute read |
22 |
|
only (as the other attributes in rasters) by making it a new |
23 |
|
parameter for ``BFRaster.read()``. |
24 |
|
|
25 |
Currently there is a default value for the depth attribute. If |
Currently there is a default value for the depth attribute. If |
26 |
the new depth attribute is always obligatory the default value |
the new depth attribute is always obligatory the default value |
27 |
is never used. Should we add the new attribute by only overloading / |
is never used. Should we add the new attribute by only overloading / |
28 |
not replacing the current ''BFRaster.read()'' and make still |
not replacing the current ''BFRaster.read()'' and make it still |
29 |
possible to use the default value? |
possible to use also the default value? |
30 |
|
|
31 |
|
|
32 |
|
|
33 |
Changes |
Changes |
34 |
------- |
------- |
44 |
- public void read(Cell center, Dim[] dims) { |
- public void read(Cell center, Dim[] dims) { |
45 |
+ public void read(Cell center, Dim[] dims, int rdepth) { |
+ public void read(Cell center, Dim[] dims, int rdepth) { |
46 |
+ depth = rdepth; |
+ depth = rdepth; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|