com.esri.arcgis.geometry
Interface IRelationResult

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IRelationResultProxy, RelationResult

public interface IRelationResult
extends java.io.Serializable

COM Interface 'IRelationResult'. Generated 3/19/2015 1:20:58 PM from 'C:\ArcGIS\COM\esriGeometry.olb'

Description: 'Provides access to members that meet the specific relation between two sets of geometries. Not currently implemented for geometries containing elliptic arcs.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID3ff13d39_ea3b_42cb_98f6_0f73a1c89b89
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void add(IRelationResult pRelations)
          Add elements of other Relation to the end of this Relations, and the set is re-sorted.
 void flipRelations()
          Flips the left and right indexes of all the elements of the relation.
 void getRelationElement(int i, int[] left, int[] right)
          The ith element of the relation.
 int getRelationElementCount()
          The number of pairs of geometries in the relation.
 void intersect(IRelationResult pRelations)
          Construct the set with only those elements that exist in both relation sets.
 void setRelationElement(int i, int left, int right)
          The ith element of the relation.
 void setRelationElements(int cPairs, esriRelationPair pairs)
          Sets RelationResult with an array of relations.
 void sortLeft()
          Sort the set according to the left index.
 void sortRight()
          Sort the set according to the right index.
 void subtract(IRelationResult pRelations)
          Finds elements existing in another relation set and delete them from this set.
 

Field Detail

IID3ff13d39_ea3b_42cb_98f6_0f73a1c89b89

static final int IID3ff13d39_ea3b_42cb_98f6_0f73a1c89b89
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getRelationElementCount

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

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

getRelationElement

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

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

setRelationElement

void setRelationElement(int i,
                        int left,
                        int right)
                        throws java.io.IOException,
                               AutomationException
The ith element of the relation. The indexes refer to elements of the left and right operand geometry bags.

Parameters:
i - The i (in)
left - The left (in)
right - The right (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRelationElements

void setRelationElements(int cPairs,
                         esriRelationPair pairs)
                         throws java.io.IOException,
                                AutomationException
Sets RelationResult with an array of relations.

Parameters:
cPairs - The cPairs (in)
pairs - A Structure: com.esri.arcgis.geometry.esriRelationPair (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

sortRight

void sortRight()
               throws java.io.IOException,
                      AutomationException
Sort the set according to the right index.

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

sortLeft

void sortLeft()
              throws java.io.IOException,
                     AutomationException
Sort the set according to the left index.

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

flipRelations

void flipRelations()
                   throws java.io.IOException,
                          AutomationException
Flips the left and right indexes of all the elements of the relation.

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

subtract

void subtract(IRelationResult pRelations)
              throws java.io.IOException,
                     AutomationException
Finds elements existing in another relation set and delete them from this set.

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

intersect

void intersect(IRelationResult pRelations)
               throws java.io.IOException,
                      AutomationException
Construct the set with only those elements that exist in both relation sets.

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

add

void add(IRelationResult pRelations)
         throws java.io.IOException,
                AutomationException
Add elements of other Relation to the end of this Relations, and the set is re-sorted.

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