sharee.bike-App/TINKLib/Model/NullPostion.cs
Oliver Hauff f38b516d25 3.0.271
2022-01-22 18:16:10 +01:00

17 lines
379 B
C#

namespace TINK.Model
{
public class NullPostion : IPosition
{
internal NullPostion() { }
public double Latitude => double.NaN;
public double Longitude => double.NaN;
public bool IsValid => Position.GetIsValid(Latitude, Longitude);
public bool Equals(IPosition other)
=> Position.GetEquals(this, other);
}
}