A simple and fast hardware-accelerated point-in-polygon test