Interface ROI

All Superinterfaces:
org.gvsig.tools.observer.Observable
All Known Subinterfaces:
VectorROI

public interface ROI extends org.gvsig.tools.observer.Observable
Author:
fdiaz
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gvsig.fmap.geom.primitive.Envelope
    Gets the bounding box of this ROI
    long
     
     
    boolean
    isInside(int cellX, int cellY)
    Checks if a point in pixel coordinates is inside of this region of interest
    boolean
    isInside(org.gvsig.fmap.geom.Geometry geometry)
    Checks if the geometry is inside of this region of interest
    void
    setID(long id)
     
    void
     

    Methods inherited from interface org.gvsig.tools.observer.Observable

    addObserver, deleteObserver, deleteObservers
  • Field Details

  • Method Details

    • isInside

      boolean isInside(int cellX, int cellY) throws org.gvsig.fmap.geom.exception.CreateGeometryException, org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException
      Checks if a point in pixel coordinates is inside of this region of interest
      Parameters:
      cellX - X cell of raster
      cellY - Y cell of raster
      Returns:
      true whether the point is inside
      Throws:
      org.gvsig.fmap.geom.exception.CreateGeometryException
      org.gvsig.fmap.geom.operation.GeometryOperationException
      org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException
    • isInside

      boolean isInside(org.gvsig.fmap.geom.Geometry geometry) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException
      Checks if the geometry is inside of this region of interest
      Parameters:
      geometry - Geometry to check if it is inside roi
      Returns:
      true whether the point is inside
      Throws:
      org.gvsig.fmap.geom.operation.GeometryOperationException
      org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException
    • getEnvelope

      org.gvsig.fmap.geom.primitive.Envelope getEnvelope() throws GettingEnvelopeException
      Gets the bounding box of this ROI
      Returns:
      the envelope
      Throws:
      GettingEnvelopeException
      CloneNotSupportedException
    • getName

      String getName()
      Returns:
      the name
    • setName

      void setName(String name)
      Parameters:
      name -
    • getID

      long getID()
      Returns:
      the identifier
    • setID

      void setID(long id)
      Parameters:
      id -