BodyExtensions.GetAngleBetween Method (KinectEx)
Returns the angle (in degrees) between the two specified
BoneTypeEx values. Optionally allows for either or
both bones to be inverted to achieve the desired orientation.
- C#
- VB
- C++
- F#
[ExtensionAttribute] public static double GetAngleBetween( this IBody body, BoneTypeEx boneTypeA, BoneTypeEx boneTypeB, bool invertBoneA, bool invertBoneB )
Syntax for VB is not yet implemented.
Syntax for C++ is not yet implemented
[<ExtensionAttribute>] static member GetAngleBetween : body : IBody * boneTypeA : BoneTypeEx * boneTypeB : BoneTypeEx * invertBoneA : bool * invertBoneB : bool -> double
Parameters
- body
-
Type: KinectEx.IBody
- boneTypeA
-
Type: KinectEx.BoneTypeEx
- boneTypeB
-
Type: KinectEx.BoneTypeEx
- invertBoneA
-
Type: System.Boolean
- invertBoneB
-
Type: System.Boolean
Return Value
Type: System.Double
Supported in:
Windows Desktop - .NET 4.5
Windows Desktop - .NET 4.5 (without Kinect SDK)
Windows 8.1 Store - WinRT
Windows 8.1 Store - WinRT (without Kinect SDK)
Windows Phone 8 - WinRT
Windows Desktop - .NET 4.5
Windows Desktop - .NET 4.5 (without Kinect SDK)
Windows 8.1 Store - WinRT
Windows 8.1 Store - WinRT (without Kinect SDK)
Windows Phone 8 - WinRT