BestAligned Method

Summary

Returns the index of the element that is best aligned with the specified cell frame.

Syntax
C#
VB
C++
public int BestAligned( 
   int subCellIndex, 
   Point3D[] imagePosition, 
   double[][] imageOrientation 
) 
Public Function BestAligned( _ 
   ByVal subCellIndex As Integer, _ 
   ByVal imagePosition() As Point3D, _ 
   ByVal imageOrientation()() As Double _ 
) As Integer 
 public: 
   int subCellIndex, 
   array<Point3D^>^ imagePosition, 
   array<array<double>^>^ imageOrientation 
)  

Parameters

subCellIndex
The index of the cell frame.

imagePosition
An Array that contains candidate positions.

imageOrientation
An Array that contains candidate orientations.

Return Value

The index of the element that is best aligned with the specified cell frame.

Remarks

The returned element ensures minimum distance to the cell frame position as long as its associated orientation is within 30 degrees of the cell frame orientation.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.