예제 #1
0
        public override double GetDistanceTo(LocalizableEntity <int> otherEntity)
        {
            if (otherEntity is StopTimeInfo stopTimeInfo)
            {
                return(StopDto.GetDistanceTo(stopTimeInfo.StopDto));
            }

            return(double.MaxValue);
        }
예제 #2
0
 public abstract double GetDistanceTo(LocalizableEntity <T> otherEntity);