block.zone.pos

Syntax

Vector Access

v = block.zone.pos(ind)

Get the zone centroid position vector.

Returns:v -zone position vector
Arguments:ind - zone index

Component Access

f = block.zone.pos.x(ind)

Get the \(x\)-coordinate of the zone centroid.

Returns:f - \(x\)-coordinate of the zone centroid
Arguments:ind - zone index
f = block.zone.pos.y(ind)

Get the \(y\)-coordinate of the zone centroid.

Returns:f - \(y\)-coordinate of the block zone centroid
Arguments:ind - zone index