extrude.block.next.block

Syntax

bpnext = extrude.block.next.block(bp,i)

Get the next block connected to an edge with local index i within the source block bp. This can be used to iterate through all blocks connected to an edge using the extrude.block.next.index function.

Returns:

bpnext - next block pointer

Arguments:

bp - source block pointer

i - edge index with 1 \(\le\) i \(\le\) extrude.block.size