zone.code

Syntax

i = zone.code(z)

Get the zone code. This is an integer that indicates which of the five currently available zone types z is.

Returns:i - zone code (0 = brick, 1 = wedge, 2 = pyramid, 3 = dbrick, 4 = tetra)
Arguments:z - zone pointer