com.esri.arcgis.geodatabase
Interface IJunctionFeature

All Superinterfaces:
Serializable
All Known Implementing Classes:
ComplexJunctionFeature, SimpleJunctionFeature

public interface IJunctionFeature
extends Serializable

Provides access to members that modify and return information about a junction feature.

Description

The IJunctionFeature interface contains properties and methods that are common to both simple and complex junction features. Only two of the four methods and properties will be commonly used by developers; GeometryForJunctionElement and OriginalGeometryForJunctionElement. The other two; Update and NetworkAncillaryRole, are used internally and are not intended for use by application developers.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

See Also:
IComplexNetworkFeature, IJunctionFeature, INetworkFeature.connect(), IEdgeFeature, IComplexJunctionFeature, IComplexEdgeFeature, INetworkFeatureEvents, ISimpleJunctionFeature, ISimpleEdgeFeature, INetworkFeature

Method Summary
 IGeometry getGeometryForJunctionElement(int subID)
          The geometry (point) corresponding to the junction with the given subID.
 int getNetworkAncillaryRole()
          Programmatic update of the NetworkFeature.
 IGeometry getOriginalGeometryForJunctionElement(int subID)
          The geometry (point) corresponding to the junction with the given subID.
 void setNetworkAncillaryRole(int role)
          Programmatic update of the NetworkFeature.
 void update(INetworkFeature callingFeature, IAffineTransformation2D transformation, ISet rigidEdges, ITransformGroup group)
          Programmatic update of the NetworkFeature.
 

Method Detail

getGeometryForJunctionElement

IGeometry getGeometryForJunctionElement(int subID)
                                        throws IOException,
                                               AutomationException
The geometry (point) corresponding to the junction with the given subID.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
subID - The subID (in)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOriginalGeometryForJunctionElement

IGeometry getOriginalGeometryForJunctionElement(int subID)
                                                throws IOException,
                                                       AutomationException
The geometry (point) corresponding to the junction with the given subID.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
subID - The subID (in)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

update

void update(INetworkFeature callingFeature,
            IAffineTransformation2D transformation,
            ISet rigidEdges,
            ITransformGroup group)
            throws IOException,
                   AutomationException
Programmatic update of the NetworkFeature.

Remarks

The Update method is reserved for internal use during the process of updating the shape and storing the result. There is no need for clients to directly call this method.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
callingFeature - A reference to a com.esri.arcgis.geodatabase.INetworkFeature (in)
transformation - A reference to a com.esri.arcgis.geometry.IAffineTransformation2D (in)
rigidEdges - A reference to a com.esri.arcgis.system.ISet (in)
group - A reference to a com.esri.arcgis.geodatabase.ITransformGroup (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNetworkAncillaryRole

int getNetworkAncillaryRole()
                            throws IOException,
                                   AutomationException
Programmatic update of the NetworkFeature.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
A com.esri.arcgis.geodatabase.esriNetworkFeatureAncillaryRole constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNetworkAncillaryRole

void setNetworkAncillaryRole(int role)
                             throws IOException,
                                    AutomationException
Programmatic update of the NetworkFeature.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
role - A com.esri.arcgis.geodatabase.esriNetworkFeatureAncillaryRole constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.