com.esri.arcgis.geodatabase
Interface IJunctionFeature

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ComplexJunctionFeature, IJunctionFeatureProxy, SimpleJunctionFeature

public interface IJunctionFeature
extends java.io.Serializable

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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.


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

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

Supported Platforms

Windows, Solaris, Linux

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

getOriginalGeometryForJunctionElement

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

Supported Platforms

Windows, Solaris, Linux

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

update

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

Supported Platforms

Windows, Solaris, Linux

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.

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNetworkAncillaryRole

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

Supported Platforms

Windows, Solaris, Linux

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

setNetworkAncillaryRole

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

Supported Platforms

Windows, Solaris, Linux

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