com.esri.arcgis.geometry
Interface IRelationalOperatorNxM

All Superinterfaces:
Serializable
All Known Implementing Classes:
IRelationalOperatorNxMProxy

public interface IRelationalOperatorNxM
extends 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.


Method Summary
 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.
 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.
 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.
 

Method Detail

esri_equals

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.

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

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.

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

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.

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

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.

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

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.

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

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.

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

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.

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

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.

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

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.

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

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.

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

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.

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.