You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
816 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Modèle
{
public class Position
{
public float LattitudeDeb { get; set; }
public float LattitudeFin { get; set; }
public float LongitudeDeb { get; set; }
public float LongitudeFin { get; set; }
public bool Equals(Position p)
{
return p.LattitudeDeb == LattitudeDeb && p.LattitudeFin == LattitudeFin && p.LongitudeDeb == LongitudeDeb && p.LongitudeFin == LongitudeFin;
}
public Position(int lDeb, int lFin, int longDeb, int longFin)
{
LattitudeDeb = lDeb;
LattitudeFin = lFin;
LongitudeDeb = longDeb;
LongitudeFin = longFin;
}
}
}