zone.face.normal

Syntax

Vector Access

v = zone.face.normal(z,iside<,i>)

Get the normal to the face, facing outward from zone z.

Returns:

v - zone face normal vector or component

Arguments:

z - zone pointer

iside - side of the zone indicating the face, from 1 to 6

i - optional vector component

Component Access

f = zone.face.normal.x(z,iside)

Get the x-component of the normal to the face, facing outward from zone z.

Returns:

f - x-component of the zone face normal vector

Arguments:

z - zone pointer

iside - side of the zone indicating the face, from 1 to 6

f = zone.face.normal.y(z,iside)

Get the y-component of the normal to the face, facing outward from zone z.

Returns:

f - y-component of the zone face normal vector

Arguments:

z - zone pointer

iside - side of the zone indicating the face, from 1 to 6

f = zone.face.normal.z(z,iside)

Get the z-component of the normal to the face, facing outward from zone z.

Returns:

f - z-component of the zone face normal vector

Arguments:

z - zone pointer

iside - side of the zone indicating the face, from 1 to 6