sharee.bike-App/TINKLib/Model/NullPostion.cs
2023-04-19 12:14:14 +02:00

17 lines
330 B
C#

namespace TINK.Model
{
public class NullPosition : IPosition
{
internal NullPosition() { }
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);
}
}