com.esri.arcgis.geometry
Interface IRelationResult

All Superinterfaces:
Serializable
All Known Implementing Classes:
IRelationResultProxy, RelationResult

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


Method Summary
 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 sortLeft()
          sortLeft
 void sortRight()
          sortRight
 void subtract(IRelationResult pRelations)
          subtract
 

Method Detail

getRelationElementCount

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.

Returns:
The resultPairCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelationElement

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.

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

void sortRight()
               throws IOException,
                      AutomationException
sortRight

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

sortLeft

void sortLeft()
              throws IOException,
                     AutomationException
sortLeft

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

flipRelations

void flipRelations()
                   throws IOException,
                          AutomationException
flipRelations

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

subtract

void subtract(IRelationResult pRelations)
              throws IOException,
                     AutomationException
subtract

Product Availability

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

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

void intersect(IRelationResult pRelations)
               throws IOException,
                      AutomationException
intersect

Product Availability

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

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.