com.esri.arcgis.geometry
Class IRelationalOperatorNxMProxy

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

public class IRelationalOperatorNxMProxy
extends com.esri.arcgis.interop.Dispatch
implements IRelationalOperatorNxM, Serializable

Provides access to members that determines which pairs of geometries from two sets are in a specified relation.

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
  IRelationalOperatorNxMProxy()
           
  IRelationalOperatorNxMProxy(Object obj)
           
protected IRelationalOperatorNxMProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void compress(IRelationResult[] result, boolean leftIndex)
          Comresses this bag and one index of relationship result based on left or right index.
 IRelationResult contains(IGeometryBag other)
          Indicates if this geometry contains the other geometry.
 IRelationResult crosses(IGeometryBag other)
          Indicates if the two geometries intersect in a geometry of lesser dimension.
 IRelationResult disjoint(IGeometryBag other)
          Indicates if the two geometries share no points in common.
 IRelationResult esri_equals(IGeometryBag other)
          Indicates if the two geometries are of the same type and define the same set of points in the plane.
 IRelationResult intersects(IGeometryBag other)
          Indicates if the two geometries share any points in common.
 IRelationResult overlaps(IGeometryBag other)
          Indicates if the intersection of the two geometries has the same dimension as one of the input geometries.
 void readExternal(ObjectInput in)
           
 IRelationResult relation(IGeometryBag other, String relationDescription)
          Evaluates an arbitrary relation specified using a dimension-extended matrix.
 IRelationResult relationEx(IGeometryBag other, int relation)
          Evaluates the relation specified by esriSpatialRelationEnum.
 void removeListener(String iidStr, Object theListener)
           
 IRelationResult touches(IGeometryBag other)
          Indicates if the boundaries of the geometries intersect.
 IRelationResult within(IGeometryBag other)
          Indicates if this geometry is contained (is within) another geometry.
 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

IRelationalOperatorNxMProxy

public IRelationalOperatorNxMProxy()

IRelationalOperatorNxMProxy

public IRelationalOperatorNxMProxy(Object obj)
                            throws IOException
Throws:
IOException

IRelationalOperatorNxMProxy

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

esri_equals

public IRelationResult esri_equals(IGeometryBag other)
                            throws IOException,
                                   AutomationException
Indicates if the two geometries are of the same type and define the same set of points in the plane.

Product Availability

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

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

touches

public IRelationResult touches(IGeometryBag other)
                        throws IOException,
                               AutomationException
Indicates if the boundaries of the geometries intersect.

Product Availability

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

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

contains

public IRelationResult contains(IGeometryBag other)
                         throws IOException,
                                AutomationException
Indicates if this geometry contains the other geometry.

Product Availability

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

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

within

public IRelationResult within(IGeometryBag other)
                       throws IOException,
                              AutomationException
Indicates if this geometry is contained (is within) another geometry.

Product Availability

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

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

disjoint

public IRelationResult disjoint(IGeometryBag other)
                         throws IOException,
                                AutomationException
Indicates if the two geometries share no points in common.

Product Availability

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

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

intersects

public IRelationResult intersects(IGeometryBag other)
                           throws IOException,
                                  AutomationException
Indicates if the two geometries share any points in common.

Product Availability

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

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

crosses

public IRelationResult crosses(IGeometryBag other)
                        throws IOException,
                               AutomationException
Indicates if the two geometries intersect in a geometry of lesser dimension.

Product Availability

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

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

overlaps

public IRelationResult overlaps(IGeometryBag other)
                         throws IOException,
                                AutomationException
Indicates if the intersection of the two geometries has the same dimension as one of the input geometries.

Product Availability

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

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

relation

public IRelationResult relation(IGeometryBag other,
                                String relationDescription)
                         throws IOException,
                                AutomationException
Evaluates an arbitrary relation specified using a dimension-extended matrix.

Product Availability

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

Specified by:
relation in interface IRelationalOperatorNxM
Parameters:
other - A reference to a com.esri.arcgis.geometry.IGeometryBag (in)
relationDescription - The relationDescription (in)
Returns:
A reference to a com.esri.arcgis.geometry.IRelationResult
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

relationEx

public IRelationResult relationEx(IGeometryBag other,
                                  int relation)
                           throws IOException,
                                  AutomationException
Evaluates the relation specified by esriSpatialRelationEnum.

Product Availability

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

Specified by:
relationEx in interface IRelationalOperatorNxM
Parameters:
other - A reference to a com.esri.arcgis.geometry.IGeometryBag (in)
relation - A com.esri.arcgis.geometry.esriSpatialRelationEnum constant (in)
Returns:
A reference to a com.esri.arcgis.geometry.IRelationResult
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

compress

public void compress(IRelationResult[] result,
                     boolean leftIndex)
              throws IOException,
                     AutomationException
Comresses this bag and one index of relationship result based on left or right index.

Product Availability

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

Specified by:
compress in interface IRelationalOperatorNxM
Parameters:
result - A reference to a com.esri.arcgis.geometry.IRelationResult (in/out: use single element array)
leftIndex - The leftIndex (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