Package org.esa.snap.core.subset
Class AbstractSubsetRegion
- java.lang.Object
-
- org.esa.snap.core.subset.AbstractSubsetRegion
-
- Direct Known Subclasses:
GeometrySubsetRegion
,PixelSubsetRegion
public abstract class AbstractSubsetRegion extends Object
Created by jcoravu on 13/2/2020.
-
-
Field Summary
Fields Modifier and Type Field Description protected int
borderPixels
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractSubsetRegion(int borderPixels)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Rectangle
computeBandPixelRegion(GeoCoding productDefaultGeoCoding, GeoCoding bandDefaultGeoCoding, int defaultProductWidth, int defaultProductHeight, int defaultBandWidth, int defaultBandHeight, boolean roundPixelRegion)
abstract Rectangle
computeProductPixelRegion(GeoCoding productDefaultGeoCoding, int defaultProductWidth, int defaultProductHeight, boolean roundPixelRegion)
protected void
validateDefaultSize(int defaultProductWidth, int defaultProductHeight, String exceptionMessagePrefix)
-
-
-
Method Detail
-
computeProductPixelRegion
public abstract Rectangle computeProductPixelRegion(GeoCoding productDefaultGeoCoding, int defaultProductWidth, int defaultProductHeight, boolean roundPixelRegion)
-
computeBandPixelRegion
public abstract Rectangle computeBandPixelRegion(GeoCoding productDefaultGeoCoding, GeoCoding bandDefaultGeoCoding, int defaultProductWidth, int defaultProductHeight, int defaultBandWidth, int defaultBandHeight, boolean roundPixelRegion)
-
validateDefaultSize
protected void validateDefaultSize(int defaultProductWidth, int defaultProductHeight, String exceptionMessagePrefix)
-
-