public class MultiLevelROIGeometry extends Object implements MultiLevelROI
Constructor and Description |
---|
MultiLevelROIGeometry(Geometry footprint,
Geometry granuleBounds,
double inset,
FootprintInsetPolicy insetPolicy) |
Modifier and Type | Method and Description |
---|---|
Geometry |
getFootprint()
This method returns a
Geometry object containing the ROI footprint or, at least, its
bounding box |
ROIGeometry |
getTransformedROI(AffineTransform at,
int imageIndex,
Rectangle imgBounds,
ImageReadParam params,
ReadType readType)
Returns a transformed ROI based on the input parameters
|
boolean |
isEmpty()
Checks if the provided
MultiLevelROI object is empty or not |
public MultiLevelROIGeometry(Geometry footprint, Geometry granuleBounds, double inset, FootprintInsetPolicy insetPolicy)
public ROIGeometry getTransformedROI(AffineTransform at, int imageIndex, Rectangle imgBounds, ImageReadParam params, ReadType readType)
MultiLevelROI
getTransformedROI
in interface MultiLevelROI
at
- AffineTransformationimageIndex
- Overview level used for extracting the correct image overviewimgBounds
- ImageBounds to set for Raster ROIsreadType
- ReadType
object indicating how the image file must be read. This may
be useful for raster ROIsROI
objectpublic boolean isEmpty()
MultiLevelROI
MultiLevelROI
object is empty or notisEmpty
in interface MultiLevelROI
public Geometry getFootprint()
MultiLevelROI
Geometry
object containing the ROI footprint or, at least, its
bounding boxgetFootprint
in interface MultiLevelROI
Geometry
object defining ROI boundsCopyright © 1996–2019 Geotools. All rights reserved.