com.esri.arcgis.geometry
Class IRelationResultProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geometry.IRelationResultProxy
All Implemented Interfaces:
IRelationResult, Externalizable, Serializable

public class IRelationResultProxy
extends com.esri.arcgis.interop.Dispatch
implements IRelationResult, Serializable

Provides access to members that find the distance between two geometries. Not currently implemented for geometries containing elliptic arcs.

Product Availability

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  IRelationResultProxy()
           
  IRelationResultProxy(Object obj)
           
protected IRelationResultProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void flipRelations()
          flipRelations
 void getRelationElement(int i, int[] left, int[] right)
          The next element of the relation.
 int getRelationElementCount()
          The number of pairs of geometries in the relation.
 void intersect(IRelationResult pRelations)
          intersect
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void sortLeft()
          sortLeft
 void sortRight()
          sortRight
 void subtract(IRelationResult pRelations)
          subtract
 void writeExternal(ObjectOutput out)
           
 
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, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IRelationResultProxy

public IRelationResultProxy()

IRelationResultProxy

public IRelationResultProxy(Object obj)
                     throws IOException
Throws:
IOException

IRelationResultProxy

protected IRelationResultProxy(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

getRelationElementCount

public int getRelationElementCount()
                            throws IOException,
                                   AutomationException
The number of pairs of geometries in the relation.

Product Availability

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

Specified by:
getRelationElementCount in interface IRelationResult
Returns:
The resultPairCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelationElement

public void getRelationElement(int i,
                               int[] left,
                               int[] right)
                        throws IOException,
                               AutomationException
The next element of the relation. The indexes refer to elements of the left and right operand geometry bags.

Product Availability

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

Specified by:
getRelationElement in interface IRelationResult
Parameters:
i - The i (in)
left - The left (out: use single element array)
right - The right (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

sortRight

public void sortRight()
               throws IOException,
                      AutomationException
sortRight

Product Availability

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

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

sortLeft

public void sortLeft()
              throws IOException,
                     AutomationException
sortLeft

Product Availability

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

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

flipRelations

public void flipRelations()
                   throws IOException,
                          AutomationException
flipRelations

Product Availability

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

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

subtract

public void subtract(IRelationResult pRelations)
              throws IOException,
                     AutomationException
subtract

Product Availability

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

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

intersect

public void intersect(IRelationResult pRelations)
               throws IOException,
                      AutomationException
intersect

Product Availability

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

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

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException
ClassNotFoundException