com.esri.arcgis.geodatabase
Interface IGraph

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IGeometricNetwork
All Known Implementing Classes:
GeometricNetwork, IGeometricNetworkProxy, IGraphProxy

public interface IGraph
extends java.io.Serializable

COM Interface 'IGraph'. Generated 3/19/2015 1:20:56 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members that manage graphs.' 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
static java.lang.String IID
          Deprecated. Internal use only
static int IID436a48bc_56f6_11d1_ae55_0000f80372b4
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void add(IFeature newFeature)
          Adds the preexisting Feature to the graph.
 void addFeatureClass(IFeatureClass featureClass, java.lang.String enabledFieldName, int role, java.lang.String ancillaryRoleFieldName)
          Add the FeatureClass to this graph.
 void deleteSet(ISet featuresToDelete)
          Removes the set of Feature from the graph.
 IDisplayFeedback getDisplayFeedback(IFeature feature, ISet features, IPoint point)
          The DisplayFeedback.
 IFeatureDataset getFeatureDataset()
          The FeatureDataset associated with the graph.
 void init(IFeatureDataset dataset, int graphID, java.lang.String graphName, boolean buildNormalizedTables, boolean createGraph)
          Initializes the graph.
 boolean isVertexBasedStretching()
          The stretching model to nearest vertex (true) or junction (false) based stretching.
 IEnumFeature merge(IEnumFeature mergingFeatures)
          Merges the Features together, returning the newly created Feature.
 void setVertexBasedStretching(boolean vertexBased)
          The stretching model to nearest vertex (true) or junction (false) based stretching.
 ISet split(IEdgeFeature splittingEdge, IGeometry point)
          Split the feature.
 void transformSet(ISet features, int type, IAffineTransformation2D tranformation)
          Repositions all specified NetworkFeatures and any topologically connected NetworkFeatures.
 

Field Detail

IID436a48bc_56f6_11d1_ae55_0000f80372b4

static final int IID436a48bc_56f6_11d1_ae55_0000f80372b4
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

add

void add(IFeature newFeature)
         throws java.io.IOException,
                AutomationException
Adds the preexisting Feature to the graph.

Parameters:
newFeature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addFeatureClass

void addFeatureClass(IFeatureClass featureClass,
                     java.lang.String enabledFieldName,
                     int role,
                     java.lang.String ancillaryRoleFieldName)
                     throws java.io.IOException,
                            AutomationException
Add the FeatureClass to this graph.

Parameters:
featureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
enabledFieldName - The enabledFieldName (in)
role - A com.esri.arcgis.geodatabase.esriNetworkClassAncillaryRole constant (in)
ancillaryRoleFieldName - The ancillaryRoleFieldName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteSet

void deleteSet(ISet featuresToDelete)
               throws java.io.IOException,
                      AutomationException
Removes the set of Feature from the graph.

Parameters:
featuresToDelete - A reference to a com.esri.arcgis.system.ISet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeatureDataset

IFeatureDataset getFeatureDataset()
                                  throws java.io.IOException,
                                         AutomationException
The FeatureDataset associated with the graph.

Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDisplayFeedback

IDisplayFeedback getDisplayFeedback(IFeature feature,
                                    ISet features,
                                    IPoint point)
                                    throws java.io.IOException,
                                           AutomationException
The DisplayFeedback.

Parameters:
feature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
features - A reference to a com.esri.arcgis.system.ISet (in)
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
A reference to a com.esri.arcgis.display.IDisplayFeedback
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

init

void init(IFeatureDataset dataset,
          int graphID,
          java.lang.String graphName,
          boolean buildNormalizedTables,
          boolean createGraph)
          throws java.io.IOException,
                 AutomationException
Initializes the graph.

Parameters:
dataset - A reference to a com.esri.arcgis.geodatabase.IFeatureDataset (in)
graphID - The graphID (in)
graphName - The graphName (in)
buildNormalizedTables - The buildNormalizedTables (in)
createGraph - The createGraph (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

merge

IEnumFeature merge(IEnumFeature mergingFeatures)
                   throws java.io.IOException,
                          AutomationException
Merges the Features together, returning the newly created Feature.

Parameters:
mergingFeatures - A reference to a com.esri.arcgis.geodatabase.IEnumFeature (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumFeature
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

split

ISet split(IEdgeFeature splittingEdge,
           IGeometry point)
           throws java.io.IOException,
                  AutomationException
Split the feature.

Parameters:
splittingEdge - A reference to a com.esri.arcgis.geodatabase.IEdgeFeature (in)
point - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Returns:
A reference to a com.esri.arcgis.system.ISet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

transformSet

void transformSet(ISet features,
                  int type,
                  IAffineTransformation2D tranformation)
                  throws java.io.IOException,
                         AutomationException
Repositions all specified NetworkFeatures and any topologically connected NetworkFeatures.

Parameters:
features - A reference to a com.esri.arcgis.system.ISet (in)
type - A com.esri.arcgis.geodatabase.esriTransformType constant (in)
tranformation - A reference to a com.esri.arcgis.geometry.IAffineTransformation2D (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isVertexBasedStretching

boolean isVertexBasedStretching()
                                throws java.io.IOException,
                                       AutomationException
The stretching model to nearest vertex (true) or junction (false) based stretching.

Returns:
The vertexBased
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVertexBasedStretching

void setVertexBasedStretching(boolean vertexBased)
                              throws java.io.IOException,
                                     AutomationException
The stretching model to nearest vertex (true) or junction (false) based stretching.

Parameters:
vertexBased - The vertexBased (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.