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, deleteObservers
static final java.lang.String ROI_CHANGED
boolean isInside(int cellX, int cellY) throws CreateGeometryException, GeometryOperationNotSupportedException, GeometryOperationException
cellX
- X cell of rastercellY
- Y cell of rasterCreateGeometryException
GeometryOperationException
GeometryOperationNotSupportedException
boolean isInside(Geometry geometry) throws GeometryOperationNotSupportedException, GeometryOperationException
geometry
- Geometry to check if it is inside roiGeometryOperationException
GeometryOperationNotSupportedException
Envelope getEnvelope() throws GettingEnvelopeException
GettingEnvelopeException
java.lang.CloneNotSupportedException
java.lang.String getName()
void setName(java.lang.String name)
name
- long getID()
void setID(long id)
id
-