Is the Point Inside the Polygon?

Anirudh Topiwala
Towards Data Science
6 min readSep 10, 2020

--

“In computational geometry, the point-in-polygon (PIP) problem asks whether a given point in the plane lies inside, outside, or on the boundary of a polygon.” Wikipedia.

A quick and simple algorithm to find whether a point lies inside, on or outside a polygon is very useful in various applications like computer graphics, geographical information systems (GIS), motion planning, CAD, computer vision, etc.

Being a computer vision engineer, some direct application I see are:

  1. Lane Detection: as a lane can be represented as…

--

--

I am a robotics/computer vision engineer passionate about autonomous vehicles. I would love to talk about any thing deep learning or computer vision.