33 lines
724 B
C#
33 lines
724 B
C#
namespace OperationControl.Mapas.Models
|
|
{
|
|
/// <summary>
|
|
/// Ponto WGS84 pertencente à rota manual de retorno.
|
|
///
|
|
/// Latitude = eixo norte/sul.
|
|
/// Longitude = eixo leste/oeste.
|
|
///
|
|
/// Não utiliza arrays internamente.
|
|
/// </summary>
|
|
public sealed class MapaPontoRetorno
|
|
{
|
|
public double Latitude { get; }
|
|
|
|
public double Longitude { get; }
|
|
|
|
|
|
public MapaPontoRetorno(
|
|
double latitude,
|
|
double longitude)
|
|
{
|
|
Latitude = latitude;
|
|
Longitude = longitude;
|
|
}
|
|
|
|
|
|
public override string ToString()
|
|
{
|
|
return
|
|
$"{Latitude:F8}, {Longitude:F8}";
|
|
}
|
|
}
|
|
} |