Package org.esa.snap.core.subset
Class GeometrySubsetRegion
java.lang.Object
org.esa.snap.core.subset.AbstractSubsetRegion
org.esa.snap.core.subset.GeometrySubsetRegion
Created by jcoravu on 13/2/2020.
-
Field Summary
Fields inherited from class org.esa.snap.core.subset.AbstractSubsetRegion
borderPixels
-
Constructor Summary
ConstructorsConstructorDescriptionGeometrySubsetRegion
(org.locationtech.jts.geom.Geometry geometryRegion, int borderPixels) -
Method Summary
Modifier and TypeMethodDescriptioncomputeBandPixelRegion
(GeoCoding productDefaultGeoCoding, GeoCoding bandDefaultGeoCoding, int defaultProductWidth, int defaultProductHeight, int defaultBandWidth, int defaultBandHeight, boolean roundPixelRegion) computeProductPixelRegion
(GeoCoding productDefaultGeoCoding, int defaultProductWidth, int defaultProductHeight, boolean roundPixelRegion) Methods inherited from class org.esa.snap.core.subset.AbstractSubsetRegion
validateDefaultSize
-
Constructor Details
-
GeometrySubsetRegion
public GeometrySubsetRegion(org.locationtech.jts.geom.Geometry geometryRegion, int borderPixels)
-
-
Method Details
-
computeProductPixelRegion
public Rectangle computeProductPixelRegion(GeoCoding productDefaultGeoCoding, int defaultProductWidth, int defaultProductHeight, boolean roundPixelRegion) - Specified by:
computeProductPixelRegion
in classAbstractSubsetRegion
-
computeBandPixelRegion
public Rectangle computeBandPixelRegion(GeoCoding productDefaultGeoCoding, GeoCoding bandDefaultGeoCoding, int defaultProductWidth, int defaultProductHeight, int defaultBandWidth, int defaultBandHeight, boolean roundPixelRegion) - Specified by:
computeBandPixelRegion
in classAbstractSubsetRegion
-