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


ISurface.Locate Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

ISurface.Locate Method

Returns the intersection of the query ray and the surface.

[Visual Basic .NET]
Public Function Locate ( _
    ByVal pRay As IRay, _
    ByVal hint As Integer _
) As IPoint
[C#]
public IPoint Locate (
    IRay pRay,
    int hint
);
[C++]
HRESULT Locate(
  IRay* pRay,
  long hint,
  IPoint** ppLocation
);
[C++]

Parameters pRay [in]
pRay is a parameter of type IRay hint [in] hint is a parameter of type long ppLocation [out, retval]
ppLocation is a parameter of type IPoint

Product Availability

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

See Also

ISurface Interface