|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.TopologyNode
public class TopologyNode
ESRI Topology Node object.
Constructor Summary | |
---|---|
TopologyNode(Object obj)
Construct a TopologyNode using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
int |
getDegree()
The number of edges entering and leaving this node. |
IEnumNodeEdge |
getEdges(boolean clockwise)
The set of topological edges incident on this node. |
IGeometry |
getGeometry()
The geometry of the topology element. |
IEnumTopologyParent |
getParents()
The set of parents (features) of this topology element. |
int |
hashCode()
the hashcode for this object |
boolean |
isDegreeKnown()
Indicates if the degree of this node is known. |
boolean |
isDeleted()
Indicates if this element has been deleted from its containing topology graph. |
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 |
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 TopologyNode(Object obj) throws IOException
obj
to TopologyNode
. *
TopologyNode o = (TopologyNode)obj; // will not work
TopologyNode o = new TopologyNode(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
TopologyNode theTopologyNode = (TopologyNode) 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 IEnumNodeEdge getEdges(boolean clockwise) throws IOException, AutomationException
getEdges
in interface ITopologyNode
clockwise
- The clockwise (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDegree() throws IOException, AutomationException
getDegree
in interface ITopologyNode
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isDegreeKnown() throws IOException, AutomationException
isDegreeKnown
in interface ITopologyNode
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 |