Finds the closest match to frameToAlign** from the array frames**.
The reference frame.
An array of frame that will be search for a closest match to frameToAlign.
Value that represents the index of the closest match item in frames to frameToAlign.
The closest match is based on the frames position and orientation of the frame.
If no match was found, due to extreme difference in orientation, then this method will return -1.
Medical Web Viewer .NET