BodyExtensions.GetDistanceBetween Method (KinectEx)
Returns the distance (in meters) between the two specified joints.
- C#
- VB
- C++
- F#
[ExtensionAttribute] public static double GetDistanceBetween( this Body body, JointType jointTypeA, JointType jointTypeB )
Syntax for VB is not yet implemented.
Syntax for C++ is not yet implemented
[<ExtensionAttribute>] static member GetDistanceBetween : body : Body * jointTypeA : JointType * jointTypeB : JointType -> double
Parameters
- body
-
Type: Microsoft.Kinect.Body
- jointTypeA
-
Type: Microsoft.Kinect.JointType
- jointTypeB
-
Type: Microsoft.Kinect.JointType
Return Value
Type: System.Double
Supported in:
Windows Desktop - .NET 4.5
Windows Desktop - .NET 4.5