public interface ITopologyGraph
extends java.io.Serializable
Description: 'Provides access to members that control the topology graph.' 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 =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IID4adc1017_3c78_434b_a32c_1817a42eb857 |
static int |
xxDummy
Deprecated.
Internal use only
|
Modifier and Type | Method and Description |
---|---|
void |
build(IEnvelope extent,
boolean preserveSelection)
Creates topo elements from all topology feature classes covering the specified map extent.
|
void |
buildFromPolygon(IPolygon extent,
boolean preserveSelection)
Creates topo elements from all topology feature classes intersecting the specified polygon.
|
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.
|
void |
determineNodeDegree()
Nodes located outside a polygonal build extent do not have a known degree (valence).
|
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.
|
IEnvelope |
getBuildExtent()
The extent used to build the graph.
|
IPolygon |
getBuildPolygonExtent()
The polygon used to determine the contents of the topology 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.
|
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,
long oID)
Returns the set of edges corresponding to the specified polyline or polygon feature.
|
IGeometry |
getParentGeometry(IFeatureClass featureClass,
long oID)
Creates a geometry corresponding to the current set of edges/nodes owned by the specified parent.
|
IEnumTopologyNode |
getParentNodes(IFeatureClass featureClass,
long oID)
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.
|
IEnumTopologyParent |
getSelectionParents()
The feature class and oid of each parent of the selected set of elements.
|
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.
|
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 |
mergeSelectedEdges()
Merge a connected sequence of selected edges that has the same feature parent set.
|
void |
post(IEnvelope[] invalidArea)
Posts changes to topology elements back to their originating features.
|
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,
long oID,
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.
|
static final int IID4adc1017_3c78_434b_a32c_1817a42eb857
static final int xxDummy
static final java.lang.String IID
void setEmpty() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setSelectionEmpty(int whichType) throws java.io.IOException, AutomationException
whichType
- The whichType (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void build(IEnvelope extent, boolean preserveSelection) throws java.io.IOException, AutomationException
extent
- 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.IEnvelope getExtent() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnvelope getBuildExtent() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean hitTest(int whichElements, IPoint queryPoint, double searchRadius, IPoint hitPoint, double[] hitDistance, ITopologyElement[] hitElement) throws java.io.IOException, AutomationException
whichElements
- 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.boolean enumHitTest(int whichElements, IPoint queryPoint, double searchRadius, IEnumTGHitInfo[] hitInfo) throws java.io.IOException, AutomationException
whichElements
- 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.int getSelectionCount(int whichElements) throws java.io.IOException, AutomationException
whichElements
- The whichElements (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean select(int selectHow, ITopologyElement element) throws java.io.IOException, AutomationException
selectHow
- 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.IEnumTopologyNode getNodeSelection() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnumTopologyEdge getEdgeSelection() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnvelope getSelectionExtent(int whichElements, boolean includeAdjacent) throws java.io.IOException, AutomationException
whichElements
- The whichElements (in)includeAdjacent
- The includeAdjacent (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void transformSelection(int direction, ITransformation transformation, boolean proportionalStretch) throws java.io.IOException, AutomationException
direction
- 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.void post(IEnvelope[] invalidArea) throws java.io.IOException, AutomationException
invalidArea
- 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.boolean isPosting() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean reshapeEdgeGeometry(ITopologyEdge edge, IPath reshapeGeometry) throws java.io.IOException, AutomationException
edge
- 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.IEnumTopologyParent getSelectionParents() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean setParentSelected(IFeatureClass featureClass, long oID, boolean selected) throws java.io.IOException, AutomationException
featureClass
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)oID
- Signed 64-bit int (in)selected
- The selected (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IGeometry getParentGeometry(IFeatureClass featureClass, long oID) throws java.io.IOException, AutomationException
featureClass
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)oID
- Signed 64-bit int (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void splitMoveNode(ITopologyNode nodeToSplit, IPoint moveTo, boolean proportionalStretch) throws java.io.IOException, AutomationException
nodeToSplit
- 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.void splitEdgeAtPoint(ITopologyEdge edge, IPoint splitPoint, double tolerance, ITopologyEdge[] from, ITopologyNode[] mid, ITopologyEdge[] to) throws java.io.IOException, AutomationException
edge
- 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.void splitEdgeAtDistance(ITopologyEdge edge, double distance, boolean asRatio, double tolerance, ITopologyEdge[] from, ITopologyNode[] mid, ITopologyEdge[] to) throws java.io.IOException, AutomationException
edge
- 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.void setEdgeGeometry(ITopologyEdge edge, IPath geometry) throws java.io.IOException, AutomationException
edge
- 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.void deletePseudoNodesFromSelection() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void deleteEdge(ITopologyEdge edge) throws java.io.IOException, AutomationException
edge
- 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.void selectByGeometry(int whichElements, int selectHow, IGeometry geometry) throws java.io.IOException, AutomationException
whichElements
- 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.IEnumTopologyNode getParentNodes(IFeatureClass featureClass, long oID) throws java.io.IOException, AutomationException
featureClass
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)oID
- Signed 64-bit int (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnumTopologyEdge getParentEdges(IFeatureClass featureClass, long oID) throws java.io.IOException, AutomationException
featureClass
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)oID
- Signed 64-bit int (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnumTopologyEdge getEdges() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnumTopologyNode getNodes() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean isHasElement(ITopologyElement element) throws java.io.IOException, AutomationException
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.boolean hitTestSelection(int whichElements, IPoint queryPoint, double searchRadius, IPoint hitPoint, double[] hitDistance, ITopologyElement[] hitElement) throws java.io.IOException, AutomationException
whichElements
- 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.boolean isHasPseudoNodes() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void buildFromPolygon(IPolygon extent, boolean preserveSelection) throws java.io.IOException, AutomationException
extent
- A reference to a com.esri.arcgis.geometry.IPolygon (in)preserveSelection
- The preserveSelection (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IPolygon getBuildPolygonExtent() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void determineNodeDegree() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void mergeSelectedEdges() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.