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


ISurface.Locate Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IS > ISurface Interface > ISurface.Locate Method
ArcGIS Developer Help

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
);
[C++]
Parameters
pRay [in]

pRay is a parameter of type IRay* hint [in]
hint is a parameter of type long

Product Availability

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

See Also

ISurface Interface