block.zone.condition

Syntax

f := zone.condition(bzp,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 tet zone (all edges are equal in length). A value of 0.0 indicates an unusable zone.

Returns:

f - block zone condition value

Arguments:

bzp - block zone pointer

i - which condition type.

if i = 0, 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).