zone.condition

Syntax

f = zone.condition(z<,i>)

Get the zone condition number. This is a general value indicating how geometrically well formed the zone is. A value of 1.0 indicates a perfect cubical zone. A value of 0.0 indicates an unusable zone.

Returns:

f - zone condition value

Arguments:

z - zone pointer

i - which condition type.

if i = 0 (default), the minimum measurement of aspect ratio, volume ratio and orthogonality;

if i = 1, the measurement of aspect ratio, zone.condition (z, 1) = zone.aspect (z);

if i = 2, the measurement of volume ratio;

if i = 3, the measurement of orthogonality, zone.condition (z, 3) = zone.ortho (z).

See zone geometry-test for more explanations.