ArcObjects Library Reference (NetworkAnalysis)  

ITraceFlowSolverGEN.FindCommonAncestors Method

Finds all reachable network elements that are upstream from all the specified origins.

[Visual Basic .NET]
Public Sub FindCommonAncestors ( _
    ByVal flowElements As esriFlowElements, _
    ByRef junctionEIDs As IEnumNetEID, _
    ByRef edgeEIDs As IEnumNetEID _
)
[C#]
public void FindCommonAncestors (
    esriFlowElements flowElements,
    ref IEnumNetEID junctionEIDs,
    ref IEnumNetEID edgeEIDs
);
[C++]
HRESULT FindCommonAncestors(
  esriFlowElements flowElements,
  IEnumNetEID** junctionEIDs,
  IEnumNetEID** edgeEIDs
);
[C++]

Parameters

flowElements [in]

  flowElements is a parameter of type esriFlowElements

junctionEIDs [out]

  junctionEIDs is a parameter of type IEnumNetEID

edgeEIDs [out]

  edgeEIDs is a parameter of type IEnumNetEID

Product Availability

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

Remarks

The flowElements parameter determines whether edge elements, junction elements, or both are returned by the trace solver.

The trace solver will return the traced junction and edge element IDs in the junctionEIDs and edgeEIDs parameters respectively.

If you would like to allow or restrict tracing on edges with indeterminate or uninitialized flow, be sure to set the TraceIndeterminateFlow property prior to calling this trace solver.

See Also

ITraceFlowSolverGEN Interface