building_blocks.face.next.index

Syntax

i1 = building_blocks.face.next.index(fp,i)

Get the index of the next face in a list. The list comprises all faces connected to the point i on face fp.

Returns:

inext - next face index

Arguments:

fp - original face pointer

i - point index

This function and related functions (building_blocks.edge.start.face, building_blocks.edge.start.index, building_blocks.face.next.face) can be used together to loop through the faces connected to a point.