Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.04 KB

README.md

File metadata and controls

49 lines (32 loc) · 1.04 KB

TriClipper

TriClipper is a header-only library that implements the Vatti clipping algorithm.

Usage

To use TriClipper, simply add triclipper.h to your project.

How It Works

If you are curious to know how TriClipper works in more detail, see How It Works.

Building Examples and Tests

TriClipper comes with examples and tests which can be built using the CMake script CMakeLists.txt.

For example:

  1. Create a folder named "build" in the root of the git repository and navigate to this folder:

    mkdir build && cd build
    
  2. Run CMake:

    cmake ..
    

CMake Options

The table below lists available CMake options:

Option Default Description
BUILD_EXAMPLES ON Defines if examples should be built.
BUILD_TESTS ON Defines if tests should be built.
DEBUG_OUTPUT ON Defines if debug output should be enabled.

License

TriClipper is licensed under the MIT License.