public override int GetHashCode() { int hash = 1; if (StopDistance != 0D) { hash ^= StopDistance.GetHashCode(); } if (SpeedLimit != 0D) { hash ^= SpeedLimit.GetHashCode(); } if (MaxValidStopDistance != 0D) { hash ^= MaxValidStopDistance.GetHashCode(); } if (MinBoundaryT != 0D) { hash ^= MinBoundaryT.GetHashCode(); } if (IgnoreMaxStMinT != 0D) { hash ^= IgnoreMaxStMinT.GetHashCode(); } if (IgnoreMinStMinS != 0D) { hash ^= IgnoreMinStMinS.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (SpeedLimit != 0F) { hash ^= SpeedLimit.GetHashCode(); } hash ^= dim_.GetHashCode(); return(hash); }