com.esri.arcgis.datasourcesraster
Class ImageFeaturePoints

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

public class ImageFeaturePoints
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IImageFeaturePoints

The Image Feature Point collection class.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
ImageFeaturePoints()
          Constructs a ImageFeaturePoints using ArcGIS Engine.
ImageFeaturePoints(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ImageFeaturePoints theImageFeaturePoints = (ImageFeaturePoints) obj;
 
Method Summary
 void add(IImageFeaturePoint pFeaturePoint)
          Adds a image feature point.
 boolean equals(Object o)
          Compare this object with another
 IPnt getCellSize()
          The cell size at which feature points are extracted.
static String getClsid()
          getClsid.
 int getCount()
          The image feature point count.
 IImageFeaturePoint getElement(int index)
          The image feature point at the specified position.
 IEnvelope getExtent()
          The extent within which feature points are extracted.
 int getImageID()
          The feature points' image ID.
 int hashCode()
          the hashcode for this object
 void insert(int index, IImageFeaturePoint pFeaturePoint)
          Adds a image feature point at the specified position.
 void mapToPixel(IImageFeaturePoint pFeaturePoint, double[] column, double[] row)
          Converts a feature point's location from map (x, y) to pixel (colum, row).
 void pixelToMap(double column, double row, IImageFeaturePoint pFeaturePoint)
          Converts a feature point's location from pixel (colum, row) to map (x, y).
 void remove(int index)
          Removes the image feature point at the specified position.
 void removeAll()
          Removes all image feature points.
 void setCellSize(IPnt ppCellsize)
          The cell size at which feature points are extracted.
 void setExtent(IEnvelope ppExtent)
          The extent within which feature points are extracted.
 void setImageID(int pImageID)
          The feature points' image ID.
 
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

ImageFeaturePoints

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

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

ImageFeaturePoints

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

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

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

getCount

public int getCount()
             throws IOException,
                    AutomationException
The image feature point count.

Product Availability

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

Specified by:
getCount in interface IImageFeaturePoints
Returns:
The pCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElement

public IImageFeaturePoint getElement(int index)
                              throws IOException,
                                     AutomationException
The image feature point at the specified position.

Product Availability

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

Specified by:
getElement in interface IImageFeaturePoints
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IImageFeaturePoint
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(int index)
            throws IOException,
                   AutomationException
Removes the image feature point at the specified position.

Product Availability

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

Specified by:
remove in interface IImageFeaturePoints
Parameters:
index - The index (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAll

public void removeAll()
               throws IOException,
                      AutomationException
Removes all image feature points.

Product Availability

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

Specified by:
removeAll in interface IImageFeaturePoints
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

public void add(IImageFeaturePoint pFeaturePoint)
         throws IOException,
                AutomationException
Adds a image feature point.

Product Availability

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

Specified by:
add in interface IImageFeaturePoints
Parameters:
pFeaturePoint - A reference to a com.esri.arcgis.datasourcesraster.IImageFeaturePoint (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insert

public void insert(int index,
                   IImageFeaturePoint pFeaturePoint)
            throws IOException,
                   AutomationException
Adds a image feature point at the specified position.

Product Availability

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

Specified by:
insert in interface IImageFeaturePoints
Parameters:
index - The index (in)
pFeaturePoint - A reference to a com.esri.arcgis.datasourcesraster.IImageFeaturePoint (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getImageID

public int getImageID()
               throws IOException,
                      AutomationException
The feature points' image ID.

Product Availability

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

Specified by:
getImageID in interface IImageFeaturePoints
Returns:
The pImageID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setImageID

public void setImageID(int pImageID)
                throws IOException,
                       AutomationException
The feature points' image ID.

Product Availability

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

Specified by:
setImageID in interface IImageFeaturePoints
Parameters:
pImageID - The pImageID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

public IEnvelope getExtent()
                    throws IOException,
                           AutomationException
The extent within which feature points are extracted.

Product Availability

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

Specified by:
getExtent in interface IImageFeaturePoints
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExtent

public void setExtent(IEnvelope ppExtent)
               throws IOException,
                      AutomationException
The extent within which feature points are extracted.

Product Availability

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

Specified by:
setExtent in interface IImageFeaturePoints
Parameters:
ppExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCellSize

public IPnt getCellSize()
                 throws IOException,
                        AutomationException
The cell size at which feature points are extracted.

Product Availability

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

Specified by:
getCellSize in interface IImageFeaturePoints
Returns:
A reference to a com.esri.arcgis.geodatabase.IPnt
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCellSize

public void setCellSize(IPnt ppCellsize)
                 throws IOException,
                        AutomationException
The cell size at which feature points are extracted.

Product Availability

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

Specified by:
setCellSize in interface IImageFeaturePoints
Parameters:
ppCellsize - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

mapToPixel

public void mapToPixel(IImageFeaturePoint pFeaturePoint,
                       double[] column,
                       double[] row)
                throws IOException,
                       AutomationException
Converts a feature point's location from map (x, y) to pixel (colum, row).

Product Availability

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

Specified by:
mapToPixel in interface IImageFeaturePoints
Parameters:
pFeaturePoint - A reference to a com.esri.arcgis.datasourcesraster.IImageFeaturePoint (in)
column - The column (out: use single element array)
row - The row (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

pixelToMap

public void pixelToMap(double column,
                       double row,
                       IImageFeaturePoint pFeaturePoint)
                throws IOException,
                       AutomationException
Converts a feature point's location from pixel (colum, row) to map (x, y).

Product Availability

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

Specified by:
pixelToMap in interface IImageFeaturePoints
Parameters:
column - The column (in)
row - The row (in)
pFeaturePoint - A reference to a com.esri.arcgis.datasourcesraster.IImageFeaturePoint (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.