Skip to content

Latest commit

 

History

History
65 lines (50 loc) · 2.73 KB

README.md

File metadata and controls

65 lines (50 loc) · 2.73 KB

Computational Geometry Library

A Geometry Toolkit for Competitive Programming

Table of Contents

Getting Started

Pre Requirements

  • g++

Compile And Run

  • 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

Contribution

References

Licence

Creative Commons Attribution 4.0 International

Computational Geometry Library is licensed under a Creative Commons Attribution 4.0 International License.