public interface ROI extends Observable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ROI_CHANGED |
| Modifier and Type | Method and Description |
|---|---|
Envelope |
getEnvelope()
Gets the bounding box of this ROI
|
long |
getID() |
java.lang.String |
getName() |
boolean |
isInside(Geometry geometry)
Checks if the geometry is inside of this region of interest
|
boolean |
isInside(int cellX,
int cellY)
Checks if a point in pixel coordinates is inside of this region of
interest
|
void |
setID(long id) |
void |
setName(java.lang.String name) |
addObserver, deleteObserver, deleteObserversstatic final java.lang.String ROI_CHANGED
boolean isInside(int cellX,
int cellY)
throws CreateGeometryException,
GeometryOperationNotSupportedException,
GeometryOperationException
cellX - X cell of rastercellY - Y cell of rasterCreateGeometryExceptionGeometryOperationExceptionGeometryOperationNotSupportedExceptionboolean isInside(Geometry geometry) throws GeometryOperationNotSupportedException, GeometryOperationException
geometry - Geometry to check if it is inside roiGeometryOperationExceptionGeometryOperationNotSupportedExceptionEnvelope getEnvelope() throws GettingEnvelopeException
GettingEnvelopeExceptionjava.lang.CloneNotSupportedExceptionjava.lang.String getName()
void setName(java.lang.String name)
name - long getID()
void setID(long id)
id -