https://github.com/bradleynull/boost-polygon-operations
Testing out some boost polygon operations
https://github.com/bradleynull/boost-polygon-operations
Last synced: 7 days ago
JSON representation
Testing out some boost polygon operations
- Host: GitHub
- URL: https://github.com/bradleynull/boost-polygon-operations
- Owner: bradleynull
- Created: 2025-05-16T16:44:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-16T16:56:47.000Z (about 1 year ago)
- Last Synced: 2025-10-30T22:06:39.967Z (8 months ago)
- Language: C++
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# boost-polygon-operations
A C++ project that demonstrates various polygon operations using the Boost Geometry library and visualizes them using SFML.
## Dependencies
- CMake (version 3.10 or higher)
- C++20 compatible compiler
- Boost libraries (with system and filesystem components)
- SFML 2.5 (with graphics, window, and system components)
## Building the Project
1. Create a build directory:
```bash
mkdir build
cd build
```
2. Generate build files:
```bash
cmake ..
```
3. Build the project:
```bash
cmake --build .
```
## Running the Application
After building, you can run the application from the build directory:
```bash
./boost_test
```
## Project Structure
- `main.cc` - Main application entry point
- `polygon.h` - Polygon operation implementations
- `polygon_visualizer.h` - SFML-based visualization utilities
- `CMakeLists.txt` - Build configuration
## Development
This project uses modern C++ features and requires a C++20 compatible compiler. The code is organized to separate the polygon operations logic from the visualization components.
## License
[Add your license information here]