Version 3.0.337

This commit is contained in:
Anja Müller-Meißner 2022-08-30 15:42:25 +02:00
parent fd0e63cf10
commit 573fe77e12
2336 changed files with 33688 additions and 86082 deletions

View file

@ -23,8 +23,8 @@ namespace TINK.Model.Map
public bool IsValid => GetIsValid(Center, Radius);
public static bool GetIsValid(IPosition center, double radius)
=> center != null
&& center.IsValid
=> center != null
&& center.IsValid
&& !double.IsNaN(radius);
}
}

View file

@ -5,7 +5,7 @@ namespace TINK.Model.Map
{
public static IMapSpan Create(IPosition position = null, double radius = double.NaN)
=> MapSpan.GetIsValid(position, radius)
? new MapSpan(position, radius) as IMapSpan
? new MapSpan(position, radius) as IMapSpan
: new NullMapSpan();
}
}