Example #1
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (nose_ != null)
        {
            hash ^= Nose.GetHashCode();
        }
        if (neck_ != null)
        {
            hash ^= Neck.GetHashCode();
        }
        if (rShoulder_ != null)
        {
            hash ^= RShoulder.GetHashCode();
        }
        if (rElbow_ != null)
        {
            hash ^= RElbow.GetHashCode();
        }
        if (rWrist_ != null)
        {
            hash ^= RWrist.GetHashCode();
        }
        if (lShoulder_ != null)
        {
            hash ^= LShoulder.GetHashCode();
        }
        if (lElbow_ != null)
        {
            hash ^= LElbow.GetHashCode();
        }
        if (lWrist_ != null)
        {
            hash ^= LWrist.GetHashCode();
        }
        if (rHip_ != null)
        {
            hash ^= RHip.GetHashCode();
        }
        if (rKnee_ != null)
        {
            hash ^= RKnee.GetHashCode();
        }
        if (rAnkle_ != null)
        {
            hash ^= RAnkle.GetHashCode();
        }
        if (lHip_ != null)
        {
            hash ^= LHip.GetHashCode();
        }
        if (lKnee_ != null)
        {
            hash ^= LKnee.GetHashCode();
        }
        if (lAnkle_ != null)
        {
            hash ^= LAnkle.GetHashCode();
        }
        if (rEye_ != null)
        {
            hash ^= REye.GetHashCode();
        }
        if (lEye_ != null)
        {
            hash ^= LEye.GetHashCode();
        }
        if (rEar_ != null)
        {
            hash ^= REar.GetHashCode();
        }
        if (lEar_ != null)
        {
            hash ^= LEar.GetHashCode();
        }
        if (Confidence != 0F)
        {
            hash ^= Confidence.GetHashCode();
        }
        return(hash);
    }