{@code Category} objects live by pair: a{@linkplain org.geotools.coverage.grid.ViewType#GEOPHYSICS geophysics} one (used forcomputation) and a {@linkplain org.geotools.coverage.grid.ViewType#PACKED packed} one(used for storing data, usually as integers). The {@code geo} argument specifies whichobject from the pair is wanted, regardless if this method is invoked on the geophysics or packed instance of the pair.
Newly constructed categories are {@linkplain org.geotools.coverage.grid.ViewType#PACKED packed} (i.e. a {@linkplain #getSampleToGeophysics sample to geophysics} transform mustbe applied in order to gets {@linkplain org.geotools.coverage.grid.ViewType#GEOPHYSICS geophysics} values). @param geo {@code true} to get a category with an identity{@linkplain #getSampleToGeophysics transform} and a{@linkplain #getRange range of values} matching the{@linkplain org.geotools.coverage.grid.ViewType#GEOPHYSICS geophysics} values, or{@code false} to get the {@linkplain org.geotools.coverage.grid.ViewType#PACKED packed} category (the one constructed with {@code new Category(...)}). @return The category. Never {@code null}, but may be {@code this}. @see GridSampleDimension#geophysics @see org.geotools.coverage.grid.GridCoverage2D#view
{@code GridSampleDimension} objects live by pair: a{@linkplain org.geotools.coverage.grid.ViewType#GEOPHYSICS geophysics} one (used forcomputation) and a {@linkplain org.geotools.coverage.grid.ViewType#PACKED packed} one(used for storing data, usually as integers). The {@code geo} argument specifies whichobject from the pair is wanted, regardless if this method is invoked on the geophysics or packed instance of the pair. @param geo {@code true} to get a sample dimension with an identity{@linkplain #getSampleToGeophysics transform} and a {@linkplain #getRange range ofvalues} matching the {@linkplain org.geotools.coverage.grid.ViewType#GEOPHYSICS geophysics} values, or {@code false} to get back the{@linkplain org.geotools.coverage.grid.ViewType#PACKED packed} sample dimension. @return The sample dimension. Never {@code null}, but may be {@code this}. @see Category#geophysics @see org.geotools.coverage.grid.GridCoverage2D#view
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|