This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GeoDatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IT > ITerrainBlockCursor Interface > ITerrainBlockCursor.Next Method (ArcObjects .NET 10.4 SDK) |
Returns next block in the form of rows and columns.
[Visual Basic .NET] Public Sub Next ( _ ByRef pRowBegin As Integer, _ ByRef pRowEnd As Integer, _ ByRef pColBegin As Integer, _ ByRef pColEnd As Integer, _ ByRef pbIsEnd As Boolean _ )
[C#] public void Next ( ref int pRowBegin, ref int pRowEnd, ref int pColBegin, ref int pColEnd, ref bool pbIsEnd );
[C++]
HRESULT Next(
long* pRowBegin,
long* pRowEnd,
long* pColBegin,
long* pColEnd,
VARIANT_BOOL* pbIsEnd
);
[C++]
Parameters pRowBegin [out] pRowBegin is a parameter of type long pRowEnd [out] pRowEnd is a parameter of type long pColBegin [out] pColBegin is a parameter of type long pColEnd [out] pColEnd is a parameter of type long pbIsEnd [out] pbIsEnd is a parameter of type VARIANT_BOOL
Returns the row and column numbers of the terrain tiles associated with the next block. These can be passed to IDynamicSurface3.ConvertToExtent if getting the spatial extent of the block is desired.
bEnd is set to TRUE when there are no more blocks. Thus the row and column values are not to be used when bEnd is TRUE.