zone.face.find.normal

Syntax

i = zone.face.find.normal(z,v)

Get the face index of zone z whose outward-facing normal is closest to the direction of v. Will return a value from 1 to 6.

Returns:

i - the index of the face whose outward normal is closest to the direction of v, from 1 to 6

Arguments:

z - a pointer to a zone

v - a vector indicating a direction. This need not be of unit length.