Skip to content

Marching Squares algorithm for polygon reconstruction. Ear Clipping for Polygon Triangulation. Ray Casting for finding distance to the Polygon from a Point

License

Notifications You must be signed in to change notification settings

yadala1998/Polygon-Computation-and-Triangulation

Repository files navigation

Polygon-Computation-and-Triangulation

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):

  1. "python3 reconstruction.py expressionfile"
  2. "python3 pmc.py polygonfile pointsfile"
  3. "python3 triangulation.py expressionfile"

expression file and points file have been attached. Change the numbers for your requirement.

About

Marching Squares algorithm for polygon reconstruction. Ear Clipping for Polygon Triangulation. Ray Casting for finding distance to the Polygon from a Point

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages