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

            if (PointCloudRange != 0F)
            {
                hash ^= PointCloudRange.GetHashCode();
            }
            if (Width != 0)
            {
                hash ^= Width.GetHashCode();
            }
            if (Height != 0)
            {
                hash ^= Height.GetHashCode();
            }
            if (MinHeight != 0F)
            {
                hash ^= MinHeight.GetHashCode();
            }
            if (MaxHeight != 0F)
            {
                hash ^= MaxHeight.GetHashCode();
            }
            if (UseIntensityFeature != false)
            {
                hash ^= UseIntensityFeature.GetHashCode();
            }
            if (UseConstantFeature != false)
            {
                hash ^= UseConstantFeature.GetHashCode();
            }
            return(hash);
        }
Beispiel #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (PokemonScaleMode != 0)
            {
                hash ^= PokemonScaleMode.GetHashCode();
            }
            if (MinHeight != 0F)
            {
                hash ^= MinHeight.GetHashCode();
            }
            if (MaxHeight != 0F)
            {
                hash ^= MaxHeight.GetHashCode();
            }
            return(hash);
        }