|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geodatabase.TopologyGraph
public class TopologyGraph
COM Class 'TopologyGraph'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'
Description 'Esri Topology Graph object.' 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 |
|---|
| Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
|---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
| Fields inherited from interface com.esri.arcgis.geodatabase.ITopologyGraph3 |
|---|
IID, IID15736f85_dd4f_4297_9921_65168571aca0, xxDummy |
| Fields inherited from interface com.esri.arcgis.geodatabase.ITopologyGraph2 |
|---|
IID08198140_4151_4218_b6e1_cddb110e1d0c |
| Fields inherited from interface com.esri.arcgis.geodatabase.ITopologyGraph |
|---|
IID4adc1017_3c78_434b_a32c_1817a42eb857 |
| Constructor Summary | |
|---|---|
TopologyGraph(java.lang.Object obj)
Construct a TopologyGraph using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
void |
addITopologyGraphEventsListener(ITopologyGraphEvents theListener)
addITopologyGraphEventsListener. |
void |
build(IEnvelope extent,
boolean preserveSelection)
Creates topo elements from all topology feature classes covering the specified map extent. |
void |
deleteEdge(ITopologyEdge edge)
Deletes the specified edge from its containing topology graph. |
void |
deletePseudoNodesFromSelection()
Removes pseudo-nodes by combining edges incident on such nodes. |
boolean |
enumHitTest(int whichElements,
IPoint queryPoint,
double searchRadius,
IEnumTGHitInfo[] hitInfo)
Locates all elements of the graph within searchRadius units of the query point; whichElements is a bitwise combination of esriTopologyElement values. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IEnvelope |
getBuildExtent()
The extent used to build the graph. |
IEnumTopologyEdge |
getEdges()
The enumerator that provides access to all the edges. |
IEnumTopologyEdge |
getEdgeSelection()
The enumerator for the selected edges of the topology. |
IEnvelope |
getExtent()
The current extent of all topological elements in the graph. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
IEnumTopologyNode |
getNodes()
The enumerator that provides access to all the nodes. |
IEnumTopologyNode |
getNodeSelection()
The enumerator for the selected nodes of the topology. |
IEnumTopologyEdge |
getParentEdges(IFeatureClass featureClass,
int fID)
Returns the set of edges corresponding to the specified polyline or polygon feature. |
IGeometry |
getParentGeometry(IFeatureClass featureClass,
int fID)
Creates a geometry corresponding to the current set of edges/nodes owned by the specified parent. |
IEnumTopologyNode |
getParentNodes(IFeatureClass featureClass,
int fID)
Returns the set of nodes corresponding to the specified point or multipoint feature. |
int |
getSelectionCount(int whichElements)
The count of selected elements of the specified types; whichElements is a bitwise combination of esriTopologyElement values. |
IEnvelope |
getSelectionExtent(int whichElements,
boolean includeAdjacent)
The extent of the selected subset of the graph, optionally includes extent of all edges incident on selected nodes (or on nodes incident on selected edges); whichElements is a bitwise combination of esriTopologyElement values. |
IDisplayFeedback |
getSelectionFeedback(int whichElements,
IPoint anchor,
boolean proportionalStretch)
Creates a display feedback object to indicate the effect of a TransformSelection operation on the selected elements; whichElements is a bitwise combination of esriTopologyElement values. |
IEnumTopologyParent |
getSelectionParents()
The feature class and oid of each parent of the selected set of elements. |
IDisplayFeedback |
getSplitMoveNodeFeedback(ITopologyNode nodeToSplit,
boolean proportionalStretch,
ISpatialReference outputSR)
Creates a display feedback object to indicate the effect of a SplitMoveNode operation on the specified node. |
int |
hashCode()
the hashcode for this object |
boolean |
hitTest(int whichElements,
IPoint queryPoint,
double searchRadius,
IPoint hitPoint,
double[] hitDistance,
ITopologyElement[] hitElement)
Locates an element of the graph nearest to the query point that is also within searchRadius units of it; whichElements is a bitwise combination of esriTopologyElement values. |
boolean |
hitTestSelection(int whichElements,
IPoint queryPoint,
double searchRadius,
IPoint hitPoint,
double[] hitDistance,
ITopologyElement[] hitElement)
Locates an element of the graph's selection nearest to the query point that is also within searchRadius units of it; whichElements is a bitwise combination of esriTopologyElement values. |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isHasElement(ITopologyElement element)
Indicates if the topology graph contains the specified element. |
boolean |
isHasPseudoNodes()
Indicates if the topology graph contains pseudo nodes. |
boolean |
isPosting()
Indicates if the topology graph is posting. |
void |
post(IEnvelope[] invalidArea)
Posts changes to topology elements back to their originating features. |
void |
postEx(IInvalidArea invalidArea)
Provides the invalid area of the topology graph. |
void |
release()
Release a TopologyGraph. |
void |
removeITopologyGraphEventsListener(ITopologyGraphEvents theListener)
removeITopologyGraphEventsListener. |
boolean |
reshapeEdgeGeometry(ITopologyEdge edge,
IPath reshapeGeometry)
Reshapes (and possibly reinterpolates) the geometry of the specified edge. |
boolean |
select(int selectHow,
ITopologyElement element)
Adds the specified element to the selected subset of the graph. |
void |
selectByGeometry(int whichElements,
int selectHow,
IGeometry geometry)
Selects nodes and/or edges that intersect the specified geometry; whichElements is a bitwise combination of esriTopologyElement values. |
void |
setEdgeGeometry(ITopologyEdge edge,
IPath geometry)
Assigns the path geometry to the specified edge. |
void |
setEmpty()
Removes all topological elements from the graph. |
boolean |
setParentSelected(IFeatureClass featureClass,
int fID,
boolean selected)
Selects parents of edges. |
void |
setSelectionEmpty(int whichType)
Clears the specified selection set: whichType is a bitwise combination of esriTopologyNode, esriTopologyEdge. |
void |
splitEdgeAtDistance(ITopologyEdge edge,
double distance,
boolean asRatio,
double tolerance,
ITopologyEdge[] from,
ITopologyNode[] mid,
ITopologyEdge[] to)
Adds a pseudo-node to the edge at the specified distance along the edge. |
void |
splitEdgeAtPoint(ITopologyEdge edge,
IPoint splitPoint,
double tolerance,
ITopologyEdge[] from,
ITopologyNode[] mid,
ITopologyEdge[] to)
Adds a pseudo-node to the edge at the point on the edge closest to the input point. |
void |
splitMoveNode(ITopologyNode nodeToSplit,
IPoint moveTo,
boolean proportionalStretch)
Change graph connectivity: Moves the specified node, along with any selected edges incident on it. |
void |
transformSelection(int direction,
ITransformation transformation,
boolean proportionalStretch)
Applies the specified transformation to the selected elements of the graph. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TopologyGraph(java.lang.Object obj)
throws java.io.IOException
obj to TopologyGraph. *
TopologyGraph o = (TopologyGraph)obj; // will not work
TopologyGraph o = new TopologyGraph(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems
TopologyGraph theTopologyGraph = (TopologyGraph) obj;| Method Detail |
|---|
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef
public void addITopologyGraphEventsListener(ITopologyGraphEvents theListener)
throws java.io.IOException
theListener - An object that implements the com.esri.arcgis.geodatabase.ITopologyGraphEvents interface.
java.io.IOException - If there are communications problems.
public void removeITopologyGraphEventsListener(ITopologyGraphEvents theListener)
throws java.io.IOException
theListener - An object that implements the com.esri.arcgis.geodatabase.ITopologyGraphEvents interface.
java.io.IOException - If there are communications problems.public void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public void interfaceSupportsErrorInfo(GUID riid)
throws java.io.IOException,
AutomationException
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEmpty()
throws java.io.IOException,
AutomationException
setEmpty in interface ITopologyGraphjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSelectionEmpty(int whichType)
throws java.io.IOException,
AutomationException
setSelectionEmpty in interface ITopologyGraphwhichType - The whichType (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void build(IEnvelope extent,
boolean preserveSelection)
throws java.io.IOException,
AutomationException
build in interface ITopologyGraphextent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)preserveSelection - The preserveSelection (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getExtent()
throws java.io.IOException,
AutomationException
getExtent in interface ITopologyGraphjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getBuildExtent()
throws java.io.IOException,
AutomationException
getBuildExtent in interface ITopologyGraphjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean hitTest(int whichElements,
IPoint queryPoint,
double searchRadius,
IPoint hitPoint,
double[] hitDistance,
ITopologyElement[] hitElement)
throws java.io.IOException,
AutomationException
hitTest in interface ITopologyGraphwhichElements - The whichElements (in)queryPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)searchRadius - The searchRadius (in)hitPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)hitDistance - The hitDistance (out: use single element array)hitElement - A reference to a com.esri.arcgis.geodatabase.ITopologyElement (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean enumHitTest(int whichElements,
IPoint queryPoint,
double searchRadius,
IEnumTGHitInfo[] hitInfo)
throws java.io.IOException,
AutomationException
enumHitTest in interface ITopologyGraphwhichElements - The whichElements (in)queryPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)searchRadius - The searchRadius (in)hitInfo - A reference to a com.esri.arcgis.geodatabase.IEnumTGHitInfo (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSelectionCount(int whichElements)
throws java.io.IOException,
AutomationException
getSelectionCount in interface ITopologyGraphwhichElements - The whichElements (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean select(int selectHow,
ITopologyElement element)
throws java.io.IOException,
AutomationException
select in interface ITopologyGraphselectHow - A com.esri.arcgis.geodatabase.esriTopologySelectionResultEnum constant (in)element - A reference to a com.esri.arcgis.geodatabase.ITopologyElement (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumTopologyNode getNodeSelection()
throws java.io.IOException,
AutomationException
getNodeSelection in interface ITopologyGraphjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumTopologyEdge getEdgeSelection()
throws java.io.IOException,
AutomationException
getEdgeSelection in interface ITopologyGraphjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getSelectionExtent(int whichElements,
boolean includeAdjacent)
throws java.io.IOException,
AutomationException
getSelectionExtent in interface ITopologyGraphwhichElements - The whichElements (in)includeAdjacent - The includeAdjacent (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void transformSelection(int direction,
ITransformation transformation,
boolean proportionalStretch)
throws java.io.IOException,
AutomationException
transformSelection in interface ITopologyGraphdirection - A com.esri.arcgis.geometry.esriTransformDirection constant (in)transformation - A reference to a com.esri.arcgis.geometry.ITransformation (in)proportionalStretch - The proportionalStretch (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void post(IEnvelope[] invalidArea)
throws java.io.IOException,
AutomationException
post in interface ITopologyGraphinvalidArea - A reference to a com.esri.arcgis.geometry.IEnvelope (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isPosting()
throws java.io.IOException,
AutomationException
isPosting in interface ITopologyGraphjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean reshapeEdgeGeometry(ITopologyEdge edge,
IPath reshapeGeometry)
throws java.io.IOException,
AutomationException
reshapeEdgeGeometry in interface ITopologyGraphedge - A reference to a com.esri.arcgis.geodatabase.ITopologyEdge (in)reshapeGeometry - A reference to a com.esri.arcgis.geometry.IPath (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumTopologyParent getSelectionParents()
throws java.io.IOException,
AutomationException
getSelectionParents in interface ITopologyGraphjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean setParentSelected(IFeatureClass featureClass,
int fID,
boolean selected)
throws java.io.IOException,
AutomationException
setParentSelected in interface ITopologyGraphfeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)fID - The fID (in)selected - The selected (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometry getParentGeometry(IFeatureClass featureClass,
int fID)
throws java.io.IOException,
AutomationException
getParentGeometry in interface ITopologyGraphfeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)fID - The fID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDisplayFeedback getSelectionFeedback(int whichElements,
IPoint anchor,
boolean proportionalStretch)
throws java.io.IOException,
AutomationException
getSelectionFeedback in interface ITopologyGraphwhichElements - The whichElements (in)anchor - A reference to a com.esri.arcgis.geometry.IPoint (in)proportionalStretch - The proportionalStretch (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void splitMoveNode(ITopologyNode nodeToSplit,
IPoint moveTo,
boolean proportionalStretch)
throws java.io.IOException,
AutomationException
splitMoveNode in interface ITopologyGraphnodeToSplit - A reference to a com.esri.arcgis.geodatabase.ITopologyNode (in)moveTo - A reference to a com.esri.arcgis.geometry.IPoint (in)proportionalStretch - The proportionalStretch (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDisplayFeedback getSplitMoveNodeFeedback(ITopologyNode nodeToSplit,
boolean proportionalStretch,
ISpatialReference outputSR)
throws java.io.IOException,
AutomationException
getSplitMoveNodeFeedback in interface ITopologyGraphnodeToSplit - A reference to a com.esri.arcgis.geodatabase.ITopologyNode (in)proportionalStretch - The proportionalStretch (in)outputSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void splitEdgeAtPoint(ITopologyEdge edge,
IPoint splitPoint,
double tolerance,
ITopologyEdge[] from,
ITopologyNode[] mid,
ITopologyEdge[] to)
throws java.io.IOException,
AutomationException
splitEdgeAtPoint in interface ITopologyGraphedge - A reference to a com.esri.arcgis.geodatabase.ITopologyEdge (in)splitPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)tolerance - The tolerance (in)from - A reference to a com.esri.arcgis.geodatabase.ITopologyEdge (out: use single element array)mid - A reference to a com.esri.arcgis.geodatabase.ITopologyNode (out: use single element array)to - A reference to a com.esri.arcgis.geodatabase.ITopologyEdge (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void splitEdgeAtDistance(ITopologyEdge edge,
double distance,
boolean asRatio,
double tolerance,
ITopologyEdge[] from,
ITopologyNode[] mid,
ITopologyEdge[] to)
throws java.io.IOException,
AutomationException
splitEdgeAtDistance in interface ITopologyGraphedge - A reference to a com.esri.arcgis.geodatabase.ITopologyEdge (in)distance - The distance (in)asRatio - The asRatio (in)tolerance - The tolerance (in)from - A reference to a com.esri.arcgis.geodatabase.ITopologyEdge (out: use single element array)mid - A reference to a com.esri.arcgis.geodatabase.ITopologyNode (out: use single element array)to - A reference to a com.esri.arcgis.geodatabase.ITopologyEdge (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEdgeGeometry(ITopologyEdge edge,
IPath geometry)
throws java.io.IOException,
AutomationException
setEdgeGeometry in interface ITopologyGraphedge - A reference to a com.esri.arcgis.geodatabase.ITopologyEdge (in)geometry - A reference to a com.esri.arcgis.geometry.IPath (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deletePseudoNodesFromSelection()
throws java.io.IOException,
AutomationException
deletePseudoNodesFromSelection in interface ITopologyGraphjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteEdge(ITopologyEdge edge)
throws java.io.IOException,
AutomationException
deleteEdge in interface ITopologyGraphedge - A reference to a com.esri.arcgis.geodatabase.ITopologyEdge (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void selectByGeometry(int whichElements,
int selectHow,
IGeometry geometry)
throws java.io.IOException,
AutomationException
selectByGeometry in interface ITopologyGraphwhichElements - The whichElements (in)selectHow - A com.esri.arcgis.geodatabase.esriTopologySelectionResultEnum constant (in)geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumTopologyNode getParentNodes(IFeatureClass featureClass,
int fID)
throws java.io.IOException,
AutomationException
getParentNodes in interface ITopologyGraphfeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)fID - The fID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumTopologyEdge getParentEdges(IFeatureClass featureClass,
int fID)
throws java.io.IOException,
AutomationException
getParentEdges in interface ITopologyGraphfeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)fID - The fID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumTopologyEdge getEdges()
throws java.io.IOException,
AutomationException
getEdges in interface ITopologyGraphjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumTopologyNode getNodes()
throws java.io.IOException,
AutomationException
getNodes in interface ITopologyGraphjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isHasElement(ITopologyElement element)
throws java.io.IOException,
AutomationException
isHasElement in interface ITopologyGraphelement - A reference to a com.esri.arcgis.geodatabase.ITopologyElement (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean hitTestSelection(int whichElements,
IPoint queryPoint,
double searchRadius,
IPoint hitPoint,
double[] hitDistance,
ITopologyElement[] hitElement)
throws java.io.IOException,
AutomationException
hitTestSelection in interface ITopologyGraphwhichElements - The whichElements (in)queryPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)searchRadius - The searchRadius (in)hitPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)hitDistance - The hitDistance (out: use single element array)hitElement - A reference to a com.esri.arcgis.geodatabase.ITopologyElement (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isHasPseudoNodes()
throws java.io.IOException,
AutomationException
isHasPseudoNodes in interface ITopologyGraph2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void postEx(IInvalidArea invalidArea)
throws java.io.IOException,
AutomationException
postEx in interface ITopologyGraph3invalidArea - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)
java.io.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 | ||||||||