|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.coverage.ResolutionInfo
public class ResolutionInfo
Information about the (native) resolutions of a coverage.
Nested Class Summary | |
---|---|
static class |
ResolutionInfo.RoundingMode
Different modes to retrieve the next / previous native resolution. |
Constructor Summary | |
---|---|
ResolutionInfo()
A resolution info for continuous coverages. |
|
ResolutionInfo(List<SampleResolution> resolutions)
The info holds only one native resolution (typically a multi resolution raster). |
|
ResolutionInfo(SampleResolution resolution)
The info holds only one native resolution (typically from a single/tiled raster). |
Method Summary | |
---|---|
SampleResolution |
getBestFit(SampleResolution targetResolution,
ResolutionInfo.RoundingMode mode)
Returns the best fitting (in terms of the given rounding mode) native resolution. |
List<SampleResolution> |
getNativeResolutions()
Returns the native resolutions of the coverage. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResolutionInfo()
public ResolutionInfo(SampleResolution resolution)
resolution
- the native resolution of the coverage.public ResolutionInfo(List<SampleResolution> resolutions)
resolutions
- the native resolutions of the coverage.Method Detail |
---|
public List<SampleResolution> getNativeResolutions()
null
public SampleResolution getBestFit(SampleResolution targetResolution, ResolutionInfo.RoundingMode mode)
targetResolution
- the required resolution.mode
- the mode of the to be used for finding the best fit.
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |