public bool Equals(LambertAzimuthalEqualAreaSpherical other)
 {
     return(!ReferenceEquals(other, null) &&
            (
                GeographicOrigin.Equals(other.GeographicOrigin) &&
                FalseProjectedOffset.Equals(other.FalseProjectedOffset) &&
                Spheroid.Equals(other.Spheroid)
            ));
 }
Esempio n. 2
0
 public bool Equals(CassiniSoldner other)
 {
     return(!ReferenceEquals(other, null) &&
            (
                NaturalOrigin.Equals(other.NaturalOrigin) &&
                FalseProjectedOffset.Equals(other.FalseProjectedOffset) &&
                Spheroid.Equals(other.Spheroid)
            )
            );
 }
Esempio n. 3
0
 public bool Equals(LambertConicConformal1Sp other)
 {
     return(!ReferenceEquals(other, null) &&
            (
                GeographicOrigin.Equals(other.GeographicOrigin)
                // ReSharper disable CompareOfFloatsByEqualityOperator
                && OriginScaleFactor == other.OriginScaleFactor
                // ReSharper restore CompareOfFloatsByEqualityOperator
                && FalseProjectedOffset.Equals(other.FalseProjectedOffset) &&
                Spheroid.Equals(other.Spheroid)
            )
            );
 }
Esempio n. 4
0
 public bool Equals(LambertConicConformal2Sp other)
 {
     return(!ReferenceEquals(other, null) &&
            (
                GeographicOrigin.Equals(other.GeographicOrigin)
                // ReSharper disable CompareOfFloatsByEqualityOperator
                && FirstParallel == other.FirstParallel &&
                SecondParallel == other.SecondParallel
                // ReSharper restore CompareOfFloatsByEqualityOperator
                && FalseProjectedOffset.Equals(other.FalseProjectedOffset) &&
                Spheroid.Equals(other.Spheroid)
            )
            );
 }
Esempio n. 5
0
 public bool Equals(Mercator other)
 {
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(!ReferenceEquals(other, null) &&
            (
                // ReSharper disable CompareOfFloatsByEqualityOperator
                CentralMeridian == other.CentralMeridian &&
                ScaleFactor == other.ScaleFactor
                // ReSharper restore CompareOfFloatsByEqualityOperator
                && FalseProjectedOffset.Equals(other.FalseProjectedOffset) &&
                Spheroid.Equals(other.Spheroid)
            )
            );
 }
Esempio n. 6
0
 public override int GetHashCode()
 {
     return(NaturalOrigin.GetHashCode() ^ (-FalseProjectedOffset.GetHashCode()));
 }
 public override int GetHashCode()
 {
     return(-GeographicOrigin.GetHashCode() ^ FalseProjectedOffset.GetHashCode());
 }