Marching Squares algorithm for polygon reconstruction. Ear Clipping for Polygon Triangulation. Ray Casting for finding distance to the Polygon from a Point
Run Instructions (Must Use Python3 as Enums are used):
- "python3 reconstruction.py expressionfile"
- "python3 pmc.py polygonfile pointsfile"
- "python3 triangulation.py expressionfile"
expression file and points file have been attached. Change the numbers for your requirement.