- Computational Geometry Library has three stuff:
- Computional Geomerty Summary Which is a list of computational geometry resources, tags, terminologies and explanations.
- Computional Geomerty Codes Which is a file contains code snippets of the computational geometry codes.
- Computional Geomerty Solver Which is a program to solve computational geometry problems.
- g++
- Clone this Repo
git clone https://github.com/basmaashouur/ComputationalGeometryLibrary.git
- Go to the directory
cd ComputationalGeometryLibrary/CGsolver
- Compile the files
g++ -c main.cpp Tools.cpp Points.cpp Lines.cpp Segments.cpp Rectangle.cpp Triangles.cpp Circles.cpp Quadrilaterals.cpp Polygons.cpp
- This produces a .o files, We can then link them using
g++ main.o Tools.o Points.o Lines.o Segments.o Rectangle.o Triangles.o Circles.o Quadlitrals.o Polygons.o
- Execute the compiled program
./a.out
- Feel free to dive in! Open an issue or submit PRs.
- Competitive Programming 3
- Programming Challenges
- The Art and Craft of Problem Solving
- Geometry Handbook
- Geometry for Programming Competitions
- Geometry Algorithms
- Geometry Topics
- GeeksforGeeks
- Stackoverflow
Computational Geometry Library is licensed under a Creative Commons Attribution 4.0 International License.