예제 #1
0
 /// <inheritdoc />
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Azimuth.GetHashCode();
         hashCode = (hashCode * 397) ^ Elevation.GetHashCode();
         hashCode = (hashCode * 397) ^ Range.GetHashCode();
         hashCode = (hashCode * 397) ^ RangeRate.GetHashCode();
         hashCode = (hashCode * 397) ^ ReferencePosition.GetHashCode();
         return(hashCode);
     }
 }
예제 #2
0
 /// <inheritdoc />
 protected bool Equals(TopocentricObservation other)
 {
     return(Azimuth.Equals(other.Azimuth) && Elevation.Equals(other.Elevation) && Range.Equals(other.Range) &&
            RangeRate.Equals(other.RangeRate) && ReferencePosition.Equals(other.ReferencePosition));
 }