コード例 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (GridSize != 0)
            {
                hash ^= GridSize.GetHashCode();
            }
            if (GroundThres != 0F)
            {
                hash ^= GroundThres.GetHashCode();
            }
            if (RoiRadX != 0F)
            {
                hash ^= RoiRadX.GetHashCode();
            }
            if (RoiRadY != 0F)
            {
                hash ^= RoiRadY.GetHashCode();
            }
            if (RoiRadZ != 0F)
            {
                hash ^= RoiRadZ.GetHashCode();
            }
            if (NrSmoothIter != 0)
            {
                hash ^= NrSmoothIter.GetHashCode();
            }
            if (UseRoi != false)
            {
                hash ^= UseRoi.GetHashCode();
            }
            if (UseGroundService != false)
            {
                hash ^= UseGroundService.GetHashCode();
            }
            return(hash);
        }