com.esri.arcgis.geodatabase
Class IFeatureProjectProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IFeatureProjectProxy
All Implemented Interfaces:
IFeatureProject, Externalizable, Serializable

public class IFeatureProjectProxy
extends com.esri.arcgis.interop.Dispatch
implements IFeatureProject, Serializable

Provides access to project a feature's geometry.

Remarks

IFeatureProject provides access to the features project method. Projecting simple features or features containing a single geometry, the project method simply projects the geometry to the output spatial reference. The Project methods implementations of complex feature types such as annotation and dimension features have additional logic to project the annotation element and dimension shape respectively. Custom features can implement this interface to provide custom project behavior.

Geodatabase cursors use IFeatureProject to project features when they are returned with a specified output spatial reference.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IFeatureProjectProxy()
           
  IFeatureProjectProxy(Object obj)
           
protected IFeatureProjectProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void project(ISpatialReference outputSR)
          Project the feature geometry to the provided spatial reference.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IFeatureProjectProxy

public IFeatureProjectProxy()

IFeatureProjectProxy

public IFeatureProjectProxy(Object obj)
                     throws IOException
Throws:
IOException

IFeatureProjectProxy

protected IFeatureProjectProxy(Object obj,
                               String iid)
                        throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

project

public void project(ISpatialReference outputSR)
             throws IOException,
                    AutomationException
Project the feature geometry to the provided spatial reference.

Remarks

Projects the feature from the current spatial reference to the output spatial reference.

Product Availability

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

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