Skip to content

A header-only library that implements the Vatti clipping algorithm

License

Notifications You must be signed in to change notification settings

dpuyda/triclipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A header-only library that implements the Vatti clipping algorithm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published