This document is archived and information here might be outdated. Recommended version. |
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(
System.Int32* pRowBegin,
System.Int32* pRowEnd,
System.Int32* pColBegin,
System.Int32* pColEnd,
Boolean* 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 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.