ArcObjects Library Reference (GlobeCore)  

IGlobeDisplay3.LocateLayersEx Method

Find the object and location in the line of sight with a tolerance.

[Visual Basic .NET]
Public Sub LocateLayersEx ( _
    ByVal pViewer As ISceneViewer, _
    ByVal xView As Integer, _
    ByVal yView As Integer, _
    ByVal searchTolPixels As Integer, _
    ByVal pLayers As IEnumLayer, _
    ByVal bGetLocation As Boolean, _
    ByVal bGetTransformed As Boolean, _
    ByVal bGetEmptyGlobe As Boolean, _
    ByVal bFeaturesOnly As Boolean, _
    ByVal bTopMost As Boolean, _
    ByRef ppHits As IHit3DSet, _
    ByVal pTrackCancel As ITrackCancel _
)
[C#]
public void LocateLayersEx (
    ISceneViewer pViewer,
    int xView,
    int yView,
    int searchTolPixels,
    IEnumLayer pLayers,
    bool bGetLocation,
    bool bGetTransformed,
    bool bGetEmptyGlobe,
    bool bFeaturesOnly,
    bool bTopMost,
    ref IHit3DSet ppHits,
    ref ITrackCancel pTrackCancel
);
[C++]
HRESULT LocateLayersEx(
  ISceneViewer* pViewer,
  long xView,
  long yView,
  long searchTolPixels,
  IEnumLayer* pLayers,
  VARIANT_BOOL bGetLocation,
  VARIANT_BOOL bGetTransformed,
  VARIANT_BOOL bGetEmptyGlobe,
  VARIANT_BOOL bFeaturesOnly,
  VARIANT_BOOL bTopMost,
  IHit3DSet** ppHits,
  ITrackCancel* pTrackCancel
);
[C++]

Parameters

pViewer [in]

  pViewer is a parameter of type ISceneViewer

xView [in]   xView is a parameter of type long yView [in]   yView is a parameter of type long searchTolPixels [in]   searchTolPixels is a parameter of type long pLayers [in]

  pLayers is a parameter of type IEnumLayer

bGetLocation [in]   bGetLocation is a parameter of type VARIANT_BOOL bGetTransformed [in]   bGetTransformed is a parameter of type VARIANT_BOOL bGetEmptyGlobe [in]   bGetEmptyGlobe is a parameter of type VARIANT_BOOL bFeaturesOnly [in]   bFeaturesOnly is a parameter of type VARIANT_BOOL bTopMost [in]   bTopMost is a parameter of type VARIANT_BOOL ppHits [out]

  ppHits is a parameter of type IHit3DSet

pTrackCancel [in]

  pTrackCancel is a parameter of type ITrackCancel

Product Availability

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

See Also

IGlobeDisplay3 Interface