block.zone.face.normal

Syntax

Vector Access

v/f = block.zone.face.normal(bzp,i<,i2>)

Get the zone face normal vector. If the optional argument i2 is supplied, the return value is restricted by vector component (1 = \(x\), 2 = \(y\), 3 = \(z\)).

Returns:

v or f - position or component of position

Arguments:

bzp - block zone pointer

i - face index (i=1,2,3 or 4)

i2 - optional vector component

Component Access

f = block.zone.face.normal.x(bzp,i)

Get the \(x\)-component of the zone face normal vector

Returns:

f - \(x\)-component of zone face normal vector

Arguments:

bzp - block zone pointer

i - face index (i=1,2,3 or 4)

f = block.zone.face.normal.y(bzp,i)

Get the \(y\)-component of the zone face normal vector

Returns:

f - \(y\)-component of zone face normal vector

Arguments:

bzp - block zone pointer

i - face index (i=1,2,3 or 4)

f = block.zone.face.normal.z(bzp,i)

Get the \(z\)-component of the zone face normal vector

Returns:

f - \(z\)-component of zone face normal vector

Arguments:

bzp - block zone pointer

i - face index (i=1,2,3 or 4)