This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INATraversalResultEdit Interface > INATraversalResultEdit.InferGeometry Method (ArcObjects .NET 10.4 SDK) |
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
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.