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.

Namespace: KinectEx
Assembly: KinectEx (KinectEx.dll 0.4.0.0)
  • C#
  • VB
  • C++
  • F#
[ExtensionAttribute]
public static double GetAngleBetween(
	this Body 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 : Body * 
	boneTypeA : BoneTypeEx * 
	boneTypeB : BoneTypeEx * 
	invertBoneA : bool * 
	invertBoneB : bool -> double

Parameters

body
Type: Microsoft.Kinect.Body
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