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

            if (header_ != null)
            {
                hash ^= Header.GetHashCode();
            }
            if (pose_ != null)
            {
                hash ^= Pose.GetHashCode();
            }
            if (uncertainty_ != null)
            {
                hash ^= Uncertainty.GetHashCode();
            }
            if (MeasurementTime != 0D)
            {
                hash ^= MeasurementTime.GetHashCode();
            }
            hash ^= trajectoryPoint_.GetHashCode();
            if (msfStatus_ != null)
            {
                hash ^= MsfStatus.GetHashCode();
            }
            if (sensorStatus_ != null)
            {
                hash ^= SensorStatus.GetHashCode();
            }
            return(hash);
        }