com.esri.arcgis.datasourcesraster
Class RasterDomainExtractor

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.RasterDomainExtractor
All Implemented Interfaces:
IRasterDomainExtractor, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class RasterDomainExtractor
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IRasterDomainExtractor

A lightweight object for extracting raster domain.

Description

RasterDomainExtractor object extracts the mask of value pixels in the form of a polygon.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
RasterDomainExtractor()
          Constructs a RasterDomainExtractor using ArcGIS Engine.
RasterDomainExtractor(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterDomainExtractor theRasterDomainExtractor = (RasterDomainExtractor) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 IPolygon extractDomain(IRaster pRaster, boolean bPixelCenterBased)
          Extracts the raster domain.
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

RasterDomainExtractor

public RasterDomainExtractor()
                      throws IOException,
                             UnknownHostException
Constructs a RasterDomainExtractor using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

RasterDomainExtractor

public RasterDomainExtractor(Object obj)
                      throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterDomainExtractor theRasterDomainExtractor = (RasterDomainExtractor) obj;

Construct a RasterDomainExtractor using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to RasterDomainExtractor.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

extractDomain

public IPolygon extractDomain(IRaster pRaster,
                              boolean bPixelCenterBased)
                       throws IOException,
                              AutomationException
Extracts the raster domain.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
extractDomain in interface IRasterDomainExtractor
Parameters:
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
bPixelCenterBased - The bPixelCenterBased (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPolygon
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.