AGI STK Esri Display 11 Send comments on this topic.
Identify Method (IAgEsri3dRenderer)
See Also  Example
Location
Search location. The search location may not cross the international date line.
IdentifyType
Layer
Target layer for identification (only required if IdentifyType  is eIdentifySingleLayer).
TrackCancel
TrackCancel object.





Description

Identifies features at the specified location.

Syntax

[Visual Basic .NET]
Public Function Identify( _
   ByVal Location As ILocation, _
   ByVal IdentifyType As AgESTKesriIdentifyType, _
   ByVal Layer As ILayer, _
   ByVal TrackCancel As ITrackCancel _
) As IAgEsri3dIdentifyResult

[C#]
public IAgEsri3dIdentifyResult Identify(
ILocation Location,
AgESTKesriIdentifyType IdentifyType,
ILayer Layer,
ITrackCancel TrackCancel
);

[Managed C++]
public: IAgEsri3dIdentifyResult^ Identify(
ILocation ^ Location,
AgESTKesriIdentifyType IdentifyType,
ILayer ^ Layer,
ITrackCancel ^ TrackCancel
);

[Java]
public IAgEsri3dIdentifyResult identify(
ILocation Location,
AgESTKesriIdentifyType IdentifyType,
ILayer Layer,
ITrackCancel TrackCancel
);

[Unmanaged C++]
public: HRESULT Identify(
ILocation * Location,
AgESTKesriIdentifyType IdentifyType,
ILayer * Layer,
ITrackCancel * TrackCancel,
IAgEsri3dIdentifyResult ** ReturnValue
);

Parameters

Location
Search location. The search location may not cross the international date line.
IdentifyType
Member Value Description
eIdentifyAll 0 Identify from all layers.
eIdentifyTop 1 Identify from top-most layer
eIdentifyVisible 2 Identify from visible layers
eIdentifySelectable 3 Identify from selectable layers
eIdentifySingleLayer 4 Identify from single layer
Layer
Target layer for identification (only required if IdentifyType  is eIdentifySingleLayer).
TrackCancel
TrackCancel object.

Return Type

Returns a collection of features identified.

Remarks

Identify the features on the requested layers inside the specified location. The Layer parameter is only used for the eIdentifySingleLayer option, and you can pass null for the other options. You can also pass null for the TrackCancel parameter if you do not wish to be notified of the progress of the operation.

This method is used in STK to implement the Get Info Tool.

Example

[C#] Copy Code
IAgEsri3dIdentifyResult result = m_Renderer.Identify(envelope, AgESTKesriIdentifyType.eIdentifyTop, nullnull);

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1