This document is archived and information here might be outdated.  Recommended version.


INATraversalResultEdit.InferGeometry Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INATraversalResultEdit.InferGeometry Method

Constructs the geometry for the result.

[Visual Basic .NET]
Public Sub InferGeometry ( _
    ByVal SourceName As String, _
    ByVal Envelope As IEnvelope, _
    ByVal TrackCancel As ITrackCancel _
)
[C#]
public void InferGeometry (
    string SourceName,
    IEnvelope Envelope,
    ITrackCancel TrackCancel
);
[C++]
HRESULT InferGeometry(
  BSTR SourceName,
  IEnvelope* Envelope,
  ITrackCancel* TrackCancel
);
[C++]

Parameters SourceName [in] SourceName is a parameter of type BSTR Envelope [in]
Envelope is a parameter of type IEnvelope TrackCancel [in]
TrackCancel is a parameter of type ITrackCancel

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

The InferGeometry method takes a source name (or an empty string which equates to all sources) as input and computes the geometry for each NATraversalResultElement based on its corresponding features in the NetworkDataset and NAContext.

See Also

INATraversalResultEdit Interface