Package org.esa.snap.core.subset
Class PixelSubsetRegion
- java.lang.Object
- 
- org.esa.snap.core.subset.AbstractSubsetRegion
- 
- org.esa.snap.core.subset.PixelSubsetRegion
 
 
- 
 public class PixelSubsetRegion extends AbstractSubsetRegion Created by jcoravu on 13/2/2020.
- 
- 
Field Summary- 
Fields inherited from class org.esa.snap.core.subset.AbstractSubsetRegionborderPixels
 
- 
 - 
Constructor SummaryConstructors Constructor Description PixelSubsetRegion(int x, int y, int width, int height, int borderPixels)PixelSubsetRegion(Rectangle pixelRegion, int borderPixels)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RectanglecomputeBandPixelRegion(GeoCoding productDefaultGeoCoding, GeoCoding bandDefaultGeoCoding, int defaultProductWidth, int defaultProductHeight, int defaultBandWidth, int defaultBandHeight, boolean roundPixelRegion)RectanglecomputeProductPixelRegion(GeoCoding productDefaultGeoCoding, int defaultProductWidth, int defaultProductHeight, boolean roundPixelRegion)RectanglegetPixelRegion()protected voidvalidateDefaultSize(int defaultProductWidth, int defaultProductHeight, String exceptionMessagePrefix)
 
- 
- 
- 
Constructor Detail- 
PixelSubsetRegionpublic PixelSubsetRegion(int x, int y, int width, int height, int borderPixels)
 - 
PixelSubsetRegionpublic PixelSubsetRegion(Rectangle pixelRegion, int borderPixels) 
 
- 
 - 
Method Detail- 
computeProductPixelRegionpublic Rectangle computeProductPixelRegion(GeoCoding productDefaultGeoCoding, int defaultProductWidth, int defaultProductHeight, boolean roundPixelRegion) - Specified by:
- computeProductPixelRegionin class- AbstractSubsetRegion
 
 - 
computeBandPixelRegionpublic Rectangle computeBandPixelRegion(GeoCoding productDefaultGeoCoding, GeoCoding bandDefaultGeoCoding, int defaultProductWidth, int defaultProductHeight, int defaultBandWidth, int defaultBandHeight, boolean roundPixelRegion) - Specified by:
- computeBandPixelRegionin class- AbstractSubsetRegion
 
 - 
validateDefaultSizeprotected void validateDefaultSize(int defaultProductWidth, int defaultProductHeight, String exceptionMessagePrefix)- Overrides:
- validateDefaultSizein class- AbstractSubsetRegion
 
 - 
getPixelRegionpublic Rectangle getPixelRegion() 
 
- 
 
-