sharee.bike-App/TINKLib/Model/NullPostion.cs
Anja Müller-Meißner 0468955d49 Version 3.0.338
2022-09-08 09:55:14 +02:00

17 lines
331 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);
}
}