findBestAlignment Method (StackSynchronization)

Summary

Finds the closest match to

frameToAlign** from the array
frames**.

Syntax

JavaScript Syntax
findBestAlignment = function(frameToAlign, frames)
TypeScript Syntax
static findBestAlignment(frameToAlign: FramePosition, frames: FramePosition[]): number;

Parameters

frameToAlign* from the array

frames**.

frames*.

Return Value

Value that represents the index of the closest match item in

frames**.

Remarks

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.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls.Medical Assembly
Click or drag to resize