|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.TopologyEdge
public class TopologyEdge
ESRI Topology Edge object.
Constructor Summary | |
---|---|
TopologyEdge(Object obj)
Construct a TopologyEdge using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
ITopologyNode |
getFromNode()
A reference to the topology node at the from point of this edge. |
IGeometry |
getGeometry()
The geometry of the topology element. |
IEnumTopologyParent |
getLeftParents(boolean boundedByEdge)
The set of parents (polygon features) that cover this edge. |
IEnumTopologyParent |
getParents()
The set of parents (features) of this topology element. |
IEnumTopologyParent |
getRightParents(boolean boundedByEdge)
The set of parents (polygon features) that cover this edge. |
ITopologyNode |
getToNode()
A reference to the topology node at the to point of this edge. |
int |
hashCode()
the hashcode for this object |
boolean |
isDeleted()
Indicates if this element has been deleted from its containing topology graph. |
boolean |
isLeftVisited()
Indicates if the left side of the edge was visited. |
boolean |
isRightVisited()
Indicates if the right side of the edge was visited. |
boolean |
isSelected()
Indicates if this element is part of its containing topology graph's selected set. |
boolean |
isVisited()
Indicates if the topology element has been visited. |
void |
queryGeometry(IGeometry geometry)
Copies the element's geometry into the specified geometry. |
void |
setLeftVisited(boolean isLeftVisited)
Indicates if the left side of the edge was visited. |
void |
setRightVisited(boolean isRightVisited)
Indicates if the right side of the edge was visited. |
void |
setVisited(boolean isVisited)
Indicates if the topology element has been visited. |
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 TopologyEdge(Object obj) throws IOException
obj
to TopologyEdge
. *
TopologyEdge o = (TopologyEdge)obj; // will not work
TopologyEdge o = new TopologyEdge(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
TopologyEdge theTopologyEdge = (TopologyEdge) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IGeometry getGeometry() throws IOException, AutomationException
getGeometry
in interface ITopologyElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSelected() throws IOException, AutomationException
isSelected
in interface ITopologyElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryGeometry(IGeometry geometry) throws IOException, AutomationException
The Geometry parameter must be an instance of an appropriate type of geometry for the topology element being called. For example, if the topology element is a node, a new point should be created and passed as the parameter, and if the topology element is an edge, a new polyline should be created and passed as the parameter.
queryGeometry
in interface ITopologyElement
geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isDeleted() throws IOException, AutomationException
isDeleted
in interface ITopologyElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumTopologyParent getParents() throws IOException, AutomationException
getParents
in interface ITopologyElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isVisited() throws IOException, AutomationException
isVisited
in interface ITopologyElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVisited(boolean isVisited) throws IOException, AutomationException
setVisited
in interface ITopologyElement
isVisited
- The isVisited (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITopologyNode getFromNode() throws IOException, AutomationException
getFromNode
in interface ITopologyEdge
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITopologyNode getToNode() throws IOException, AutomationException
getToNode
in interface ITopologyEdge
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumTopologyParent getLeftParents(boolean boundedByEdge) throws IOException, AutomationException
getLeftParents
in interface ITopologyEdge
boundedByEdge
- The boundedByEdge (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumTopologyParent getRightParents(boolean boundedByEdge) throws IOException, AutomationException
getRightParents
in interface ITopologyEdge
boundedByEdge
- The boundedByEdge (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isLeftVisited() throws IOException, AutomationException
isLeftVisited
in interface ITopologyEdge
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLeftVisited(boolean isLeftVisited) throws IOException, AutomationException
setLeftVisited
in interface ITopologyEdge
isLeftVisited
- The isLeftVisited (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRightVisited() throws IOException, AutomationException
isRightVisited
in interface ITopologyEdge
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRightVisited(boolean isRightVisited) throws IOException, AutomationException
setRightVisited
in interface ITopologyEdge
isRightVisited
- The isRightVisited (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 |