Пример #1
0
        internal double Match(SmothendSkeleton skeleton) // distance to other person
        {
            SkeletonPoint currentRoot = Position;
            SkeletonPoint otherRoot   = skeleton.Positon;

            return(SkeletonMath.DistanceBetweenPoints(currentRoot, otherRoot));
        }
Пример #2
0
        internal double Match(SmothendSkeleton skeleton) // distance to other person
        {
            SkeletonPoint currentRoot = CurrentSkeleton.GetPosition(JointType.HipCenter);
            SkeletonPoint otherRoot   = skeleton.GetPosition(JointType.HipCenter);

            return(SkeletonMath.DistanceBetweenPoints(currentRoot, otherRoot));
        }