I have the data of latitude and longitude of $n$ points on the boundary of the airspace of a country. I also have the coordinates of the current location of an aircraft. Using this data, how do I find out of the aircraft is inside the airspace or outside.
For the sake of simplicity we can assume the boundaries of the airspace form a convex polygon.