2019-09-13 14:16:37 +00:00
|
|
|
// Hackish wrapper around the ClipperLib library to compile the Clipper library with the Z support.
|
|
|
|
|
|
|
|
#ifndef clipper_z_hpp
|
|
|
|
#ifdef clipper_hpp
|
2021-04-21 18:15:49 +00:00
|
|
|
#error "You should include clipper_z.hpp before clipper.hpp"
|
2019-09-13 14:16:37 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#define clipper_z_hpp
|
|
|
|
|
|
|
|
// Enable the Z coordinate support.
|
2021-04-21 18:15:49 +00:00
|
|
|
#define CLIPPERLIB_USE_XYZ
|
2019-09-13 14:16:37 +00:00
|
|
|
|
|
|
|
#include "clipper.hpp"
|
|
|
|
|
|
|
|
#undef clipper_hpp
|
2021-04-21 18:15:49 +00:00
|
|
|
#undef CLIPPERLIB_USE_XYZ
|
2019-09-13 14:16:37 +00:00
|
|
|
|
2019-09-24 14:01:01 +00:00
|
|
|
#endif // clipper_z_hpp
|