Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 335 Bytes

File metadata and controls

17 lines (13 loc) · 335 Bytes

clipper

Here's one simple C++ example of clipper usage that is compiling on gcc.

Build it with command: g++ clipper.cpp main.cpp -o test

You need the clipper-library, download from here: http://www.angusj.com/delphi/clipper.php

It should output:

solution size = 1
0 = 175, 200
1 = 150, 200
2 = 150, 100
3 = 175, 100