This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INATraversalResultEdit2 Interface > INATraversalResultEdit2.CreateJunctionEx Method (ArcObjects .NET 10.4 SDK) |
Make a new junction in the result.
[Visual Basic .NET] Public Function CreateJunctionEx ( _ ByVal SourceID As Integer, _ ByVal SourceOID As Integer, _ ByVal EID As Integer, _ ByVal Point As IPoint _ ) As Integer
[C#] public int CreateJunctionEx ( int SourceID, int SourceOID, int EID, IPoint Point );
[C++]
HRESULT CreateJunctionEx(
long SourceID,
long SourceOID,
long EID,
IPoint* Point,
long* ElementID
);
[C++]
Parameters SourceID [in] SourceID is a parameter of type long SourceOID [in] SourceOID is a parameter of type long EID [in] EID is a parameter of type long Point [in]
Point is a parameter of type IPoint ElementID [out, retval] ElementID is a parameter of type long
CreateJunctionEx creates a junction in the traversal results junction feature class.
It is unnecessary to pass in a geometry. If passed in, it will be used. Otherwise, it is possible to call InferGeometry later to infer all of the geometries.