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

            if (RoiRadX != 0D)
            {
                hash ^= RoiRadX.GetHashCode();
            }
            if (RoiRadY != 0D)
            {
                hash ^= RoiRadY.GetHashCode();
            }
            if (GridSize != 0)
            {
                hash ^= GridSize.GetHashCode();
            }
            return(hash);
        }
        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);
        }