|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geometry.RelationResult
public class RelationResult
The indexes of geometrybag elements that are in a specified relation.
| Constructor Summary | |
|---|---|
RelationResult()
Constructs a RelationResult using ArcGIS Engine. |
|
RelationResult(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RelationResult theRelationResult = (RelationResult) obj; |
|
| Method Summary | |
|---|---|
void |
add(IRelationResult pRelations)
Add elements of other Relation to the end of this Relations, and the set is re-sorted. |
boolean |
equals(Object o)
Compare this object with another |
void |
flipRelations()
Flips the left and right indexes of all the elements of the relation. |
static String |
getClsid()
getClsid. |
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. |
int |
hashCode()
the hashcode for this object |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public RelationResult()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public RelationResult(Object obj)
throws IOException
RelationResult theRelationResult = (RelationResult) obj;
obj to RelationResult.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public int getRelationElementCount()
throws IOException,
AutomationException
getRelationElementCount in interface IRelationResultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getRelationElement(int i,
int[] left,
int[] right)
throws IOException,
AutomationException
getRelationElement in interface IRelationResulti - The i (in)left - The left (out: use single element array)right - The right (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRelationElement(int i,
int left,
int right)
throws IOException,
AutomationException
setRelationElement in interface IRelationResulti - The i (in)left - The left (in)right - The right (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRelationElements(int cPairs,
esriRelationPair pairs)
throws IOException,
AutomationException
setRelationElements in interface IRelationResultcPairs - The cPairs (in)pairs - A Structure: com.esri.arcgis.geometry.esriRelationPair (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void sortRight()
throws IOException,
AutomationException
sortRight in interface IRelationResultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void sortLeft()
throws IOException,
AutomationException
sortLeft in interface IRelationResultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void flipRelations()
throws IOException,
AutomationException
flipRelations in interface IRelationResultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void subtract(IRelationResult pRelations)
throws IOException,
AutomationException
subtract in interface IRelationResultpRelations - A reference to a com.esri.arcgis.geometry.IRelationResult (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void intersect(IRelationResult pRelations)
throws IOException,
AutomationException
intersect in interface IRelationResultpRelations - A reference to a com.esri.arcgis.geometry.IRelationResult (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void add(IRelationResult pRelations)
throws IOException,
AutomationException
add in interface IRelationResultpRelations - A reference to a com.esri.arcgis.geometry.IRelationResult (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||