Leadtools.Dicom.Common Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetMajorAxisFromPatientRelativeDirectionCosine Method
See Also 
Leadtools.Dicom.Common.Extensions Namespace > OrientationManager Class : GetMajorAxisFromPatientRelativeDirectionCosine Method



x
The x component of the direction cosine vector.
y
The y component of the direction cosine vector.
z
The z component of the direction cosine vector.
x
The x component of the direction cosine vector.
y
The y component of the direction cosine vector.
z
The z component of the direction cosine vector.
Indicates the OrientationAxis that is the closest to a specified by a direction cosine vector.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetMajorAxisFromPatientRelativeDirectionCosine( _
   ByVal x As Double, _
   ByVal y As Double, _
   ByVal z As Double _
) As OrientationAxis
Visual Basic (Usage)Copy Code
Dim x As Double
Dim y As Double
Dim z As Double
Dim value As OrientationAxis
 
value = OrientationManager.GetMajorAxisFromPatientRelativeDirectionCosine(x, y, z)
C# 
public static OrientationAxis GetMajorAxisFromPatientRelativeDirectionCosine( 
   double x,
   double y,
   double z
)
C++/CLI 
public:
static OrientationAxis GetMajorAxisFromPatientRelativeDirectionCosine( 
   double x,
   double y,
   double z
) 

Parameters

x
The x component of the direction cosine vector.
y
The y component of the direction cosine vector.
z
The z component of the direction cosine vector.

Return Value

The OrientationAxis that is the closest to a direction cosine vector.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.Common requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features