This document is archived and information here might be outdated. Recommended version. |
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*
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.