Finds the closest match to frameToAlign** from the array frames**.
findBestAlignment = function(
frameToAlign,
frames
)
static findBestAlignment(
frameToAlign: FramePosition,
frames: FramePosition[]
): number;
frameToAlign
The reference frame.
frames
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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document