Algorithm to solve point in polygon problem The algorithm includes the following steps:
- The minimum bounding rectangle algorithm
- The Ray Casting Algorithm.
The main_from_file.py
:
- Read list of x,y coordinates from CVS file and create polygon object from them.
- Read and create points.
- Categorise the points and write results into a csv file.
- Plot the points and polygon.
The `main_from_user.py' takes point coordinates form user input.