The GeometryToolkit is a C++ project that provides utilities for geometric calculations. The project includes source files, example applications, and test cases to demonstrate and validate the functionality of the toolkit.
Before you begin, ensure you have the following installed on your system:
- C++ Compiler (e.g.,
g++
orclang++
) - CMake (version 3.10 or higher)
brew install cmake
Follow these steps to build the project:
git clone https://github.com/balav94/GeometryToolkit.git cd GeometryToolkit
mkdir build && cd build
cmake ..
make
The compiled binaries will be placed in the build/tests and build/examples directories.
After the project has been built, you can run the compiled binaries directly from the build directory:
./build/examples/DistanceCalculator
./build/tests/TestGeometryUtils ./build/tests/TestDegeneracy
To remove the build files and binaries, simply delete the build directory: rm -rf build