zone.face.normal

Syntax

v := zone.face.normal(z,iside)

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

Returns:

v - zone face normal vector

Arguments:

z - zone pointer

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

Component Access

f := zone.face.normal (z)->x

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

Access other vector components (\(y\), \(z\)) by substituting the component name where \(x\) appears above. See Member Access Operator for information about accessing members from data types using ->.

Deprecated Component Access

Component access by adding an optional integer in the function arguments (zone.face.normal(z,<int>)) is deprecated. It remains available but will not be supported in future versions. See Component Access with Integers in FISH on the Deprecated Commands and FISH page for details.

This is hidden. Added to include remaining vector component access functions for inline help.

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