CGAL_StraightSkeleton_Wrapper icon indicating copy to clipboard operation
CGAL_StraightSkeleton_Wrapper copied to clipboard

C# Wrapper for calculating straight edge skeleton in C# using CGAL

CGAL_StraightSkeleton_Wrapper

A C# wrapper around CGAL for calculating straight skeletons of shapes. This is not and does not ever intend to be a general C# wrapper around CGAL!

Skeleton

Building

This was built for windows, cross platform building would be nice if someone wants to make a PR!

  1. Install CGAL dependencies

    • This largely consists of installing Boost, then building CGAL
    • Build process depends on using the correct compiler, that's v12 (VS2013)
    • Dependencies must be in correct locations:
      • C:\local\boost_1_59_0
      • C:\Program Files\CGAL-4.7
  2. Once you have CGAL built you can build the CGAL_StraightSkeleton_Wrapper project (check project properties for paths in linker, just to make sure you have everything right).

    • I hope you enjoy solving dependency problems!
  3. Now you can build CGAL_StraightSkeleton_Dotnet and use it! See ConsoleTest project for a demo on how to use it.