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


ITinSurface2.LocateMultiple Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinSurface2 Interface > ITinSurface2.LocateMultiple Method
ArcGIS Developer Help

ITinSurface2.LocateMultiple Method

Returns the intersections of the query ray and the surface.

[Visual Basic .NET]
Public Function LocateMultiple ( _
    ByVal pRay As IRay _
) As IMultipoint
[C#]
public IMultipoint LocateMultiple (
    IRay pRay
);
[C++]
HRESULT LocateMultiple(
  IRay* pRay
);
[C++]
Parameters
pRay [in]

pRay is a parameter of type IRay*

Product Availability

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

Description

Returns the intersection points between a 3D ray and the surface.

The returned multipoint will contain 0..n points depending on the number of intersections between the ray and the surface.

 

Notes:

Consider using ITinSurface3.QueryLocate or ITinSurface3.QueryLocateWithinDistance when inside a loop, for the sake of efficiency, since those methods allow you to reuse output point and multipoint objects whereas this method always creates new ones.

See Also

ITinSurface2 Interface