Calculates the orientation of each face of a mesh relative to a provided stack
orientation as 1 - |dot(face normal, stack orientation)|.

C# | Visual Basic | Visual C++ |
public static float[] CalculateFaceOrientations( BusyWindow busyWindow, Mesh mesh, Vector3 stackOrientation )
Public Shared Function CalculateFaceOrientations ( _ busyWindow As BusyWindow, _ mesh As Mesh, _ stackOrientation As Vector3 _ ) As Single()
public: static array<float>^ CalculateFaceOrientations( BusyWindow^ busyWindow, Mesh^ mesh, Vector3 stackOrientation )

- busyWindow (BusyWindow)
- If a BusyWindow instance is provided, the progress of the method is shown there. May be null.
- mesh (Mesh)
- The mesh to be processed.
- stackOrientation (Vector3)
- A vector specifying the stack orientation, i.e. the direction in which the slices of a volume data set are aligned.

The per-face orientations relative to the stack orientation.